//接口封装
// var HOST = 'https://' + window.location.host + '/api/admin'; //测试环境
// var commuapiHOST = 'https://commuapi.fsyuncai.com'; //基础数据接口
// var HOST2 = 'https://' + window.location.host + ''; //测试环境
// var SSO = "";
// if (HOST.indexOf('www.fsyuncai.com') < 0) {
//     SSO = "http://ssoin.pre.fsyuncai.com";
// } else {
//     SSO = "https://ssoin.fsyuncai.com";
// }
// var root = {
//     sso: {
//         url: SSO + '/login.php?site=fsyc&backurl=' + HOST2 + '/admin/index.html',

//         modifyPwdUrl: SSO + '/pwd_modify.php'
//     },
    //本地调用
    var HOST = 'https://t4.fsyuncai.com/api/admin';   //测试环境
    var commuapiHOST = 'https://commuapi.fsyuncai.com';//基础数据接口
     var HOST2 = 'https://t4.fsyuncai.com';   //测试环境
     var localHost = "http://test.fsyuncai.com";
     var SSO = "http://ssoin.test.fsyuncai.com";
     var HOST4 = 'http://192.168.65.180:7777/api/admin'
     var root = {
         sso: {
            url: SSO +'/login.php?site=fsyc&backurl='+ localHost +'/admin/index.html',

            modifyPwdUrl : SSO + '/pwd_modify.php'
        },
    sroreinter: {
        insertChangeInfo: HOST + '/acontract/customerExt/insertChangeInfo.jhtml', //保存仓
        getSonCompanyListBySendCompanyId: HOST + '/abaseservice/warehouse/getSonCompanyListBySendCompanyId', //触摸屏根据门店查询省份
        insertCustomerSetupInfo: HOST + '/acontract/customerExt/insertCustomerSetupInfo.jhtml', //价格省份保存接口
        getWarehouseAndCompanyAndProvinceCode: HOST2 + '/abaseservice/warehouse/getWarehouseAndCompanyAndProvinceCode', //发货仓-发货公司-主省份
        getAreaCityMap: HOST + '/abaseservice/area/getAreaCityMap', //云采通过主数据查询区域及城市映射关系
        getAddressByMainAddressList: HOST + '/abaseservice/addressLibrary/getAddressByMainAddressList', //云采通过主数据查询地址信息
        houseList: HOST + '/anobodyhouse/houseList', //方盛云仓 查询
        queryWarehouseInfo: HOST + '/abaseservice/warehouse/queryWarehouseInfo', //方盛云仓  商品这只查询
        searchHouseBackendProductList: HOST + '/anobodyhouse/searchHouseBackendProductList',
        updateHouseArea: HOST + '/anobodyhouse/updateHouseArea',
        getLowerAddress: HOST2 + '/api/pc/baseservice/area/getLowerAddress', //
        get_category: HOST + '/astore/operation/get_category', //登录页首页资源位配置下拉框查询
        search_resource_conf: HOST + '/astore/operation/search_resource_conf', //登录页首页资源位配置查询
        delete_resource_conf: HOST + '/astore/operation/delete_resource_conf', //登录页首页资源位配置删除
        save_resource_conf: HOST + '/astore/operation/save_resource_conf', //登录页首页资源位配置添加
        select_floor: HOST + '/astore/operation/select_floor', //首页楼层配置添加的查询剩余楼层接口
        product_lable_listLable: HOST + '/aproduct/lable/listLable?lable_level=1', //登录页楼层配置添加商品查询一级场景接口
        update_floor: HOST + '/astore/operation/update_floor', //楼层开启关闭接口，迭代需求已完成
        search_content_conf: HOST + '/astore/operation/search_content_conf', //内容管理配置查询
        delete_content_conf: HOST + '/astore/operation/delete_content_conf', //内容管理配置删除
        get_content_category: HOST + '/astore/operation/get_content_category', //内容管理配置下拉框查询
        save_content_conf: HOST + '/astore/operation/save_content_conf', //内容管理配置保存
        search_activity_conf: HOST + '/astore/operation/search_activity_conf', //活动配置查询
        delete_activity_conf: HOST + '/astore/operation/delete_activity_conf', //活动配置删除
        get_activity_category: HOST + '/astore/operation/get_activity_category', //活动配置下拉框查询
        save_activity_conf: HOST + '/astore/operation/save_activity_conf', //活动配置保存
        ActivityOrdinary: HOST2 + '/',
        Activitycontract: HOST2 + '/vip/',
        ordinary: HOST2 + '/', //普通平台
        contract: HOST2 + '/vip/', //签约平台
        ordinaryNofront: HOST2 + '/#/', //普通平台
        contractNofront: HOST2 + '/vip/#/', //签约平台
        addDiscount: HOST + '/aproduct/discount/addDiscount', //商品运营管理添加
        discountcategory: HOST + '/aproduct/category/listCategoryByDiscount', //商品运营管理添加下拉框查询
        editDiscount: HOST + '/aproduct/discount/addDiscountS', //商品运营管理编辑
        getDiscount: HOST + '/aproduct/discount/getDiscount', //商品运营管理查询
        activity_upload_image: HOST + '/astore/operation/activity_upload_image', //运营管理活动管理上传图片
        content_upload_image: HOST + '/astore/operation/content_upload_image', //运营管理内容管理上传图片
        ueditor: HOST + '/astore/imgUpdate', //ueditor上传配置
        ueditor_config: HOST + '/astore/ueditor/', //ueditor上传配置
        download: HOST + '/abaseservice/upload', // 楼层下载图片接口
        importOrdinaryFloor: HOST + '/astore/importOrdinaryFloor', // 普通楼层web.readCookie("loginData")接口
        importContractFloor: HOST + '/astore/importContractFloor', // 签约楼层导入接口
        add_slide_picutre: HOST + '/astore/website/add_slide_picutre', // 轮播图信息保存接口
        update_slide_picutre: HOST + '/astore/website/update_slide_picutre', // 轮播图信息更新接口
        save_slide_picture: HOST + '/abaseservice/upload', //轮播图上传接口
        query_slide_pictureBypage: HOST + '/astore/website/query_slide_pictureBypage', // 轮播图信息分页查询
        get_slide_pictureByid: HOST + '/astore/website/get_slide_pictureByid', //根据id查询轮播图
        delete_slide_picture: HOST + '/astore/website/delete_slide_picture', //删除轮播图
        query_newsBypage: HOST + '/astore/website/query_newsBypage', //  分页查询新闻
        delete_news: HOST + '/astore/website/delete_news', //删除新闻
        get_newsByid: HOST + '/astore/website/get_newsByid', //根据id查询新闻
        add_news: HOST + '/astore/website/add_news', //新增新闻
        update_news: HOST + '/astore/website/update_news', //更新新闻
        query_recruitBypage: HOST + '/astore/website/query_recruitBypage', //  分页查询招聘信息
        delete_recruit: HOST + '/astore/website/delete_recruit', //  删除招聘信息
        get_recruitByid: HOST + '/astore/website/get_recruitByid', //  根据id查询招聘信息
        add_recruit: HOST + '/astore/website/add_recruit', // 新增招聘信息
        update_recruit: HOST + '/astore/website/update_recruit', // 更新招聘信息
        importContractFloor: HOST + '/astore/importContractFloor', // 签约楼层导入接口
        afterSelectCategoryBrandLogoList: HOST + '/astore/afterSelectCategoryBrandLogoList', // 品牌馆logo查询
        deleteCatgoryBrandLogoAsId: HOST + '/astore/deleteCatgoryBrandLogoAsId', // 品牌馆删除
        addCategoryBrandLogo: HOST + '/astore/addCategoryBrandLogo', // 品牌馆添加
        selectCatgoryBrandLogoAsId: HOST + '/astore/selectCatgoryBrandLogoAsId', // 品牌馆编辑详情
        selectCatgoryIdAsPlatformWarehouse: HOST + '/astore/selectCatgoryIdAsPlatformWarehouse', // 品类查询
        listLinkConfig: HOST + '/astore/friendlink/listLinkConfig', // 友链配置查询
        deleteLinkConfig: HOST + '/astore/friendlink/deleteLinkConfig', // 删除友链配置
        countLinkConfig: HOST + '/astore/friendlink/countLinkConfig', // 查询已存在的友链配置数量
        saveOrUpdateLinkConfig: HOST + '/astore/friendlink/saveOrUpdateLinkConfig', // 新增或编辑友链配置信息
        listLinkApply: HOST + '/astore/friendlink/listLinkApply', // 查询友链申请列表
        queryLinkAppyDetail: HOST + '/astore/friendlink/queryLinkAppyDetail', // 查询友链申请详情
        auditLinkAppy: HOST + '/astore/friendlink/auditLinkAppy', // 查询友链申请详情
        searchAfterFreeBackList: HOST + '/astore/searchAfterFreeBackList', // 查询客户反馈列表
        searchAfterFreeBackMsg: HOST + '/astore/searchAfterFreeBackMsg', // 查询客户反馈详情
        updateAfterFreeBackMsg: HOST + '/astore/updateAfterFreeBackMsg', // 客服回复客户反馈
        queryAppScene: HOST + '/store/appScene/queryAppScene', //子集查询列表
        //锚点管理---spu列表查询
        spuListForStore: HOST + '/aproduct/product/spuListForStore', //采购场景配置-spu列表查询
        // 锚点管理---spu已加入列表查询
        spuListForStoreAdded: HOST + '/aproduct/product/spuListForStoreAdded', //采购场景配置-spu列表查询（已加入商品）
        // 锚点管理页面查询列表
        queryAppScenePoint: HOST + '/store/appScenePoint/queryAppScenePoint', //锚点查询列表
        appScenePoint_saveOrUpdate: HOST + '/store/appScenePoint/saveOrUpdate', //锚点增加和编辑
        // 删除锚点
        deleteById: HOST + '/store/appScenePoint/deleteById', // 删除锚点
        // 根据一级场景id查询二级场景锚点
        getAppSceneByParentId: HOST + '/store/appScene/getAppSceneByParentId', //根据一级场景id查询二级场景锚点
        getAppScenePointByAppSceneId: HOST + '/store/appScenePoint/getAppScenePointByAppSceneId', //根据场景id查询锚点,在图片上渲染锚点位置
        getSubDomainList: HOST + '/astore/sub_domain/getSubDomainList', // 二级域名列表查询
        addSubDomain: HOST + '/astore/sub_domain/addSubDomain', // 二级域名新增
        delSubDomain: HOST + '/astore/sub_domain/delSubDomain', // 二级域名删除
        toEditSubDomain: HOST + '/astore/sub_domain/toEditSubDomain', // 查询二级域名（详情）
        updateSubDomain: HOST + '/astore/sub_domain/updateSubDomain', // 更新二级域名
        findFloor: HOST + '/astore/floor/findFloor', // 楼层配置查询
        addFloor: HOST + '/astore/floor/addFloor', // 楼层配置添加
        updateFloor: HOST + '/astore/floor/updateFloor', // 楼层配置修改
        addFloorCategoryMsg: HOST + '/astore/floor/addFloorCategoryMsg', // 添加楼层分类及楼层图片
        findFloorCategoryMsg: HOST + '/astore/floor/findFloorCategoryMsg', // 根据楼层id查询楼层分类及商品信息
        findProductByFloorId: HOST + '/astore/floor/findProductByFloorId', // 楼层商品查询
        addFloorProductMsg: HOST + '/astore/floor/addFloorProductMsg', // 楼层商品查询
        updateFloorProductMsg: HOST + '/astore/floor/updateFloorProductMsg', // 楼层商品查询
        deleteFloorProductMsg: HOST + '/astore/floor/deleteFloorProductMsg', // 楼层商品删除



    },
    category: {
        category_listFirstDisplay: HOST + '/astore/category/listFirstDisplay', //一级展示列表查询接口
        category_listFrontCategory: HOST + '/astore/category/getFrontCategoryList', //一级展示列表编辑(关联一级分类获取)
        category_saveFrontFirstCategory: HOST + '/astore/category/saveFrontFirstCategory', //一级展示列表编辑(保存功能)
        category_sortFirstDisplay: HOST + '/astore/category/sortFirstDisplay', //一级展示内容列表手动排序
        category_updateSecondCategory: HOST + '/astore/category/updateSecondCategory', //编辑次级类目(一级或二级或三级)
        category_linkedCategory: HOST + '/astore/category/linkedCategory', //编辑次级类目(一级或二级或三级)
    },
    inter: {
        //合同管理
        queryContractCustomerTable: HOST + '/acontract/enter/queryContractCustomerTable.jhtml', //合同首页查询
        getCrmCustomerByCode: HOST + '/acontract/approval/getCrmCustomerByCode.jhtml', //立项申请返现
        commitAppr: HOST + '/acontract/approval/commitAppr.jhtml', //立项申请提交
        saveAppr: HOST + '/acontract/approval/saveAppr.jhtml', //立项申请保存
        getSaleManagerById: HOST + '/acontract/user/getSaleManagerById.jhtml', //通过销售主管id查找销售主管信息
        getGroupById: HOST + '/acontract/org/getGroupById.jhtml', //通过客户归属id查找客户归属信息
        getOperationManagerByParam: HOST + '/acontract/approval/getOperationManagerByParam.jhtml', //运营经理下拉框模糊查询
        getSaleManagerByParam: HOST + '/acontract/user/getSaleManagerByParam.jhtml', //销售经理下拉框模糊查询
        getConsigneeByOldContractId: HOST + '/acontract/authconsignee/getConsigneeByOldContractId.jhtml', //授权收货人列表
        addCustomerAccount: HOST + '/acontract/account/addCustomerAccount.jhtml', //添加账号总分审
        getCustomerAccountById: HOST + '/acontract/account/getCustomerAccountById.jhtml', //始化获取账号
        makeRelationship: HOST + '/acontract/account/makeRelationship.jhtml', //建立账号之间的关联关系
        relieveRelationship: HOST + '/acontract/account/relieveRelationship.jhtml', //解除建立账号之间的关联关系
        getAccountByContractNum: HOST + '/acontract/account/getAccountByContractNum.jhtml', //建立账号之间的关联关系列表
        operateRelationship: HOST + '/acontract/account/operateRelationship.jhtml', //关闭-开启账号
        getCategory: HOST + '/acontract/categorydiscount/getCategory.jhtml', //品类下拉框初始化
        getAllCategoryDiscountAPI: HOST + '/acontract/categorydiscount/getAllCategoryDiscountAPI.jhtml', //已添加品类列表初始化
        getDiscountByCategoryId: HOST + '/acontract/categorydiscount/getDiscountByCategoryId.jhtml', //折扣率下拉框初始化
        addCategoryDiscount: HOST + '/acontract/categorydiscount/addCategoryDiscount.jhtml', //商品折扣率添加
        getAllCategoryDiscount: HOST + '/acontract/categorydiscount/getAllCategoryDiscount.jhtml', //商品折扣率查询列表
        getCategoryDetailByCategoryId: HOST + '/acontract/categorydiscount/getCategoryDetailByCategoryId.jhtml', //通过折扣率查询列表返回每一个id获取名称
        deleteCategoryDiscount: HOST + '/acontract/categorydiscount/deleteCategoryDiscount.jhtml', //品类折扣率删除
        getGroup: HOST + '/acontract/org/getGroup.jhtml', //获取全部客户归属详情
        addCategory: HOST + '/acontract/category/addCategory.jhtml', //查询当前已上架品类
        deleteCategory: HOST + '/acontract/category/deleteCategory.jhtml', //查询当前已下架品类
        addCategoryproduct: HOST + '/acontract/category/addCategory.jhtml', //品类上架
        // addCategory: HOST + '/contract/category/addCategory.jhtml',//新品类上下架品类
        deleteCategoryproduct: HOST + '/acontract/category/deleteCategory.jhtml', //品类下架
        getContractNum: HOST + '/acontract/enter/getContractNum.jhtml', //商品池及账户配置返现
        commitContractPage: HOST + '/acontract/enter/commitContractPage.jhtml', //商品池及账户配置提交
        querySignCustomerTable: HOST + '/acontract/approval/querySignCustomerTable.jhtml', //签约客户查询接口
        getSignCustomerDetail: HOST + '/acontract/approval/getSignCustomerDetail.jhtml', //查看签约客户详情
        getContractorByParam: HOST + '/acontract/customer/getContractorByParam.jhtml', //总/分包方详细信息获取
        getContractDetail: HOST + '/acontract/enter/getContractDetail.jhtml', //签约合同详情
        editCustomerInfo: HOST + '/acontract/customer/editCustomerInfo.jhtml', //客户信息编辑
        getAccountContractInfoByCustomerCode: HOST + '/acontract/approval/getAccountContractInfoByCustomerCode.jhtml', //商品池及账户返现
        imgUpload: HOST + '/abaseservice/upload', //上传图片
        updateSignInfo: HOST + '/acontract/enter/updateSignInfo.jhtml', //签约信息修改
        findCategoryDiscountForPage: HOST + '/acontract/cateDiscount/findCategoryDiscountForPage', //分销价初始查询
        saveCategoryDiscount: HOST + '/acontract/cateDiscount/saveCategoryDiscount', //分销价添加
        updateBatchCategoryDiscount: HOST + '/acontract/cateDiscount/updateBatchCategoryDiscount', //分销价修改
        delBatchCategoryDiscountByList: HOST + '/acontract/cateDiscount/delBatchCategoryDiscountByList', //分销价单个删除
        findContractCategoryDiscountByCondition: HOST + '/acontract/cateDiscount/findContractCategoryDiscountByCondition', //查询结果页
        findProductInfoList: HOST + '/aproduct/product/findProductInfoList', //分销价详情
        findSkuDatas: HOST + '/aproduct/product/findSkuDatas', //分销价详情查询sku
        getSpuBySpuCode: HOST + '/aproduct/product/getSpuBySpuCode', //spuId的精确搜素
        findAddress: HOST + '/amembership/findAddress', //签约客户详情查询门店信息
        saveAddress: HOST + '/amembership/saveAddress', //签约客户详情查询门店信息编辑保存
        getSignCustomerDetailjhtml: HOST + '/acontract/approval/getSignCustomerDetail.jhtml', //新查看签约客户详情
        updateCustomerIsEnterByCode: HOST + '/amembership/customer/updateCustomerIsEnterByCode.jhtml', //修改入驻状态
        updateCustomerInfoByCode: HOST + '/amembership/customer/updateCustomerInfoByCode', //修改邮箱
        produceFictitiousContract: HOST + '/acontract/contract/produceFictitiousContract.jhtml', //生产虚拟合同
        findContractInfoByPage: HOST + '/acontract/contract/findContractInfoByPage.jhtml', //查询合同信息
        queryCustomerLimitInfo: HOST + '/acontract/contract/queryCustomerLimitInfo.jhtml', //查询关联额度控制
        isToCreateAccounts: HOST + '/acontract/contract/isToCreateAccounts', //签约客户详情账户信息确认创建账号
        updateFictitiousContractStatus: HOST + '/acontract/contract/updateFictitiousContractStatus.jhtml', //合同详情修改合同状态
        downloadProductExcelTemplate: HOST + '/acontract/downloadProductExcelTemplate', //下载模板
        excelImport: HOST + '/acontract/excelImport', //文件上传
        updateCategoryDiscountBelowCostPrice: HOST + '/acontract/cateDiscount/updateCategoryDiscountBelowCostPrice',
        categoryByParams: HOST + '/aproduct/category/categoryByParams', //
        checkCateDiscountByIds: HOST + '/acontract/cateDiscount/checkCateDiscountByIds', //
        updateBatchCategoryDiscountByList: HOST + '/acontract/cateDiscount/updateBatchCategoryDiscountByList', //
        saveCategoryDiscounts: HOST + '/acontract/cateDiscount/saveCategoryDiscounts', //分销价添加
        /*签约客户管理详情-成本中心管理*/
        getCustomerAmountLimit: HOST + '/amembership/customer/getCustomerAmountLimit', //签约会员成本管理--查询接口
        saveCustomerAmountLimit: HOST + '/amembership/customer/saveCustomerAmountLimit', //签约会员成本管理--保存接口（保存，更新）
    },
    /*商品管理*/
    goodsInter: {
        //积分商品
        goods_integral_sku_list: HOST + '/aproduct/integralSku/getIntegralSkuList',
        goods_getIntegralSkuDetail: HOST + '/aproduct/integralSku/getIntegralSkuDetail',
        goods_updateIntegralSku: HOST + '/aproduct/integralSku/updateIntegralSku',
        goods_deleteIntegralSku: HOST + '/aproduct/integralSku/deleteIntegralSku',
        goods_uploadIntegralSkuImgs: HOST + '/aproduct/integralSku/uploadIntegralSkuImgs', //详情图多图上传

        // 商品管理
        goods_updateCategory: HOST + '/aproduct/category/updateCategory', //修改商品品类
        goods_delCategory: HOST + '/aproduct/category/delCategory', //删除商品品类
        goods_addCategory: HOST + '/aproduct/category/addCategory', //添加商品品类
        goods_getCateCode: HOST + '/aproduct/category/getCateCode', // 获取商品品类编码
        goods_listCategory: HOST + '/aproduct/category/listCategory', //根据商品品类级别获取此级别的全品类
        goods_subCategory: HOST + '/aproduct/category/subCategory', //根据品类id获取下一级品类列表
        goods_getProductCategory: HOST2 + '/srm/service/api/productBreach/getProductCategory', // 商品中心分类
        goods_spuList: HOST + '/aproduct/product/spuList', //商品售卖管理spu条件查询
        goods_spuListWithShelfStatus: HOST + '/aproduct/product/getSpuListWithShelfStatus', //商品上下架管理spu详情
        goods_setSpuSaleStatus: HOST + '/aproduct/product/setSpuSaleStatus', //商品售卖管理spu上下架
        goods_getSkuList: HOST + '/aproduct/product/getSkuList', //列表分页查询
        goods_setSKUSaleStatus: HOST + '/aproduct/product/setSKUSaleStatus', //sku上下架
        goods_getStockDetail: HOST + '/aproduct/product/stock/getStockDetail', //获取库存详情
        goods_getStockInfo: HOST + '/aproduct/product/stock/storageList', //获取库存信息
        goods_getArea: HOST + '/aproduct/product/stock/getArea', //获取仓库区域
        goods_getWareHouse: HOST + '/aproduct/product/stock/getWareHouse', //获取所有仓库
        goods_getCityByArea: HOST + '/aproduct/product/stock/getCityByArea', //获取仓库城市
        goods_updateVirtualStockValue: HOST + '/aproduct/product/stock/updateVirtualStockValue', //虚拟库存修改
        goods_getSkuDetail: HOST + '/aproduct/product/getSkuDetail', //获取sku详情
        goods_getSpuDetail: HOST + '/aproduct/product/getSpuDetail', //商品售卖管理详情
        goods_updateSpuDetail: HOST + '/aproduct/product/updateSpuDetail', //修改spu详情信息
        updateMiniOrderBySkuId: HOST + '/aproduct/product/updateMiniOrderBySkuId', //修改最小起订量
        goods_getListBrand: HOST + '/aproduct/brand/getListBrand', //修改spu详情信息
        goods_getProductBrand: HOST2 + '/srm/service/api/productBreach/getProductBrand', //商品中心品牌
        goods_getLogList: HOST + '/aproduct/log/getLogList', //获取日志列表
        /*采销管理*/
        goods_getLowLevelCategory: HOST + '/aproduct/category/getLowLevelCategory', //采销管理-末级品类分页查询
        goods_updateUserInfor: HOST + '/aproduct/category/updateUserInfor', //采销管理-修改品类负责人
        goods_listUsersJL: HOST + '/arights/user/listUsersPurchase', //联想获取负责人http://192.168.0.107:7020/rights/user/listUsersJL
        /*商品属性*/
        goods_getAttributeCode: HOST + '/aproduct/attribute/getAttributeCode', //获取属性项编码
        goods_updateAttribute: HOST + '/aproduct/attribute/updateAttribute', //商品属性项-修改
        goods_addAttribute: HOST + '/aproduct/attribute/addAttribute', //商品属性项-添加
        goods_updateAttriValue: HOST + '/aproduct/attriValue/updateAttriValue', //商品属性值-修改
        goods_addAttriValue: HOST + '/aproduct/attriValue/addAttriValue', //商品属性值-添加
        goods_delAttriValue: HOST + '/aproduct/attriValue/delAttriValue', //商品属性值-删除
        goods_delAttribute: HOST + '/aproduct/attribute/delAttribute', //商品属性项-删除
        goods_getAttriValueCode: HOST + '/aproduct/attriValue/getAttriValueCode', //获取商品属性值编码
        goods_listAttribute: HOST + '/aproduct/attribute/listAttribute', //根据商品末级分类ID获取末级分类的属性列表
        goods_listAttributeValue: HOST + '/aproduct/attribute/listAttributeValue', //据商品属性id获取该属性项的属性值列表
        /*图片管理*/
        goods_listImg: HOST + '/aproduct/img/listImg', //获取商品图片列表
        goods_saveImg: HOST + '/aproduct/img/saveImg', //上传图片
        goods_saveImages: HOST + '/aproduct/img/saveImages', //多图上传
        goods_saveDetailImages: HOST + '/aproduct/img/saveDetailImages', //详情图多图上传
        goods_delImg: HOST + '/aproduct/img/delImg', //删除图片
        goods_getImg: HOST + '/aproduct/img/getImg', //获取修改图片信息
        goods_updateImg: HOST + '/aproduct/img/updateImg', //修改图片信息-已使用的图
        goods_saveUpdateImg: HOST + '/aproduct/img/saveUpdateImg', //修改图片信息-未使用的图
        goods_getSpuImg: HOST + '/aproduct/product/getSpuAllImg', // 获取spu下所有图片
        /*场景分类*/
        goods_updateLable: HOST + '/aproduct/lable/updateLable', //场景分类信息-修改
        goods_addLable: HOST + '/aproduct/lable/addLable', //场景分类信息-添加
        goods_getLableCode: HOST + '/aproduct/lable/getLableCode', //场景分类编码-获取
        goods_listLable: HOST + '/aproduct/lable/listLable', //根据商品场景级别lable_level获取该级别的商品场景
        goods_listSubLable: HOST + '/aproduct/lable/listSubLable', //根据商品场景id获取下一级场景列表
        goods_delLable: HOST + '/aproduct/lable/delLable', //删除场景标签
        /*sku详情*/
        goods_getSkuDetail: HOST + '/aproduct/product/getSkuDetail', //获得SKU详情
        goods_skuDetailList: HOST + '/aproduct/product/skuDetailList', //获得SKU详情值
        goods_skuShopDetailInformation: HOST + '/aproduct/product/skuShopDetailInformation', //获得SKU售卖详情
        goods_updateSkuDetail: HOST + '/aproduct/product/updateSkuDetail', //修改SKU详情
        goods_addSkuLable: HOST + '/aproduct/product/addSkuLable', //修改sku场景分类
        goods_skuDetailForShow: HOST + '/aproduct/product/skuDetailForShow', //sku预览
        goods_getListAttriValue: HOST + '/aproduct/attribute/getListAttriValue', //属性联想查询
        /*品牌管理*/
        goods_getBrandByCodeAndName: HOST + '/aproduct/brand/getBrandByCodeAndName', //根据品牌编码或品牌名称获取品牌分页列表
        goods_getBrandCount: HOST + '/aproduct/brand/getCount', //根据品牌编码或品牌名称获取品牌列表总记录数
        goods_addBrand: HOST + '/aproduct/brand/addBrand', //添加品牌
        goods_updateBrand: HOST + '/aproduct/brand/updateBrand', //修改品牌
        goods_editBrandStatus: HOST + '/aproduct/brand/editBrandStatus', //修改品牌状态
        goods_deleteBrand: HOST + '/aproduct/brand/delBrand', //删除品牌
        /*级别联动*/
        categoryByParam: HOST + '/aproduct/category/categoryByParam', //根据商品品类级别、父级品类id、品类名称获取不同品类列表
        /*销售区域*/
        goods_getSaleArea: HOST + '/aproduct/product/salearea/message',
        /*判断单个spu是否能上架*/
        goods_singleSpuIsPull: HOST + '/aproduct/product/ispullup',
        /*特殊商品上下架管理*/
        goods_getSpecialSkuList: HOST + '/aproduct/product/getSpecialSkuList', //获取特殊商品列表数据
        goods_getSpecialSkuTypes: HOST + '/aproduct/product/getSpecialSkuTypes', //获取特殊商品类型集合
        setSpecialSKUSaleStatus: HOST + '/aproduct/product/setSpecialSKUSaleStatus', //特殊商上下架修改接口
        /*导入导出*/
        goods_importAllCategory: HOST + '/aproduct/importCategory/importAllCategory',
        goods_expCategoryModel: HOST + '/aproduct/importCategory/expCategoryModel',
        goods_exceldata: 'https://' + window.location.host + '/api/inner/aproduct/import/product/exceldata',
        goods_expProduct: HOST + '/aproduct/import/product/expProduct',
        /**
         * 最小起订量导入
         */
        goods_excelminiorderdata: HOST + '/aproduct/import/product/skuMiniorder',
        goods_expminiorder: HOST + '/aproduct/import/product/expMiniOrder',

        goods_exceldataforSKuShelf: 'https://' + window.location.host + '/api/inner/aproduct/import/product/skuShelf',
        goods_expSkuShelfModule: HOST + '/aproduct/import/product/expSkuShelfModule',
        goods_expErrorMsg: HOST + '/aproduct/import/product/expErrorMsg',
        goods_brandImport: HOST + '/aproduct/brand/brandImport',
        goods_exportBrand: HOST + '/aproduct/brand/exportBrand', //品牌下载
        goods_importAllAttribute: HOST + '/aproduct/importAttribute/importAllAttribute',
        goods_exportAttribute: HOST + '/aproduct/importAttribute/exportAttribute',
        goods_importAllSkuPrice: HOST + '/aproduct/importPrice/importAllSkuPrice',
        goods_expSkuPriceModel: HOST + '/aproduct/importPrice/expSkuPriceModel',
        goods_importPriceType: HOST + '/aproduct/importPrice/importPriceType', //展示价格和锁价类型导入
        goods_exPriceType: HOST + '/aproduct/importPrice/exPriceType', //展示价格和锁价类型导出
        goods_importTranPriceType: HOST + '/aproduct/importPrice/importTranPriceType', //指定交易价锁价类型导入
        goods_expTranPriceType: HOST + '/aproduct/importPrice/expTranPriceType', //指定交易价锁价类型导出
        /*价格管理*/
        goods_findSkuPriceArea: HOST + '/aproduct/price/findSkuPriceArea',
        goods_findSkuList: HOST + '/aproduct/price/findSkuList',
        goods_findIspecifyPriceSkuList: HOST + '/aproduct/price/findIspecifyPriceSkuList',
        goods_stockSynchronization: HOST + '/aproduct/product/stock/stockSynchronization', //库存初始化
        goods_priceSynchronization: HOST + '/aproduct/price/priceSynchronization', //库存初始化

        /*临采商品*/
        goods_temporaryProductList: HOST + '/aproduct/tempProcuProduct/temporaryProductList', //查询临采商品列表
        goods_temporaryProductDetail: HOST + '/aproduct/tempProcuProduct/temporaryProductDetail', //查询临采商品详情
        goods_updateTemporaryProduct: HOST + '/aproduct/tempProcuProduct/updateTemporaryProduct', //修改临采商品详情

        /*无人仓管理*/
        goods_synchCategory: HOST2 + '/umanhouse/synch/category', //同步品类
        goods_synchUnit: HOST2 + '/umanhouse/synch/unit', //同步单位
        goods_synchStock: HOST2 + '/umanhouse/synch/stock', //同步库存
        goods_synchPrice: HOST2 + '/umanhouse/synch/price', //同步价格
        goods_import_skuImport: HOST2 + '/umanhouse/import/skuImport', //商品导入
        goods_import_unit_map: HOST2 + '/umanhouse/import/unit/map', //单位映射导入
        goods_import_category_map: HOST2 + '/umanhouse/import/category/map', //品类映射导入
        goods_import_warehouse_map: HOST2 + '/umanhouse/import/warehouse/map', //仓库映射导入
        goods_export_unit_map: HOST2 + '/umanhouse/export/unit/map', //导出云筑单位映射表
        goods_export_unit: HOST2 + '/umanhouse/export/unit', //导出云筑单位表
        goods_export_category_map: HOST2 + '/umanhouse/export/category/map', //导出云筑品类映射表
        goods_export_category: HOST2 + '/umanhouse/export/category', //导出云筑品类表
        goods_export_yuncai_category: HOST2 + '/umanhouse/export/yuncai/category', //导出云彩品类表
        goods_export_yuncai_unit: HOST2 + '/umanhouse/export/yuncai/unit', //导出云彩单位表
        goods_export_yuncai_sku: HOST2 + '/umanhouse/export/yuncai/sku', //导出云筑sku映射表
        goods_export_warehouse_map: HOST2 + '/umanhouse/export/warehouse/map', //导出仓库映射表
        goods_export_yuncai_error_HOSTu: HOST2 + '/umanhouse/export/yuncai/error/sku', //导出云彩异常sku信息

        getSkuLogisticeLimitList: HOST + '/aproduct/product/getSkuLogisticeLimitList', //查询部分商品配送方式列表
        addSkuLogisticeLimit: HOST + '/aproduct/product/addSkuLogisticeLimit', //部分商品配送方式添加
        expErrorMsg: HOST + '/aproduct/import/product/expErrorMsg', //部分商品配送方式下载错误值
        delSkuLogisticeLimit: HOST + '/aproduct/product/delSkuLogisticeLimit', //部分商品配送方式移除
        listLableByType: HOST + '/aproduct/lable/listLableByType', //通过场景级别和平台类型获取该级别的场景标签列表
        subCategorys: HOST + '/aproduct/category/subCategorys', //根据品类id获取下二级品类列表


    },
    /*订单管理*/
    orderInter: {
        mainCustomerDetails: HOST + '/amembership/mainCustomer/info', //获取客户组详情
        getConstorUserList: HOST + '/amembership/member/getMembers', //获取客户组内用户下拉数据
        mainCustomerAdd: HOST + '/amembership/mainCustomer/save', //客户组新增
        mainCustomerEdit: HOST + '/amembership/mainCustomer/update', //客户组更新
        ErrorSignList: HOST + '/amembership/customerUser/syncFailList', //获取账号对接失败列表
        ErrorGrene: HOST + '/amembership/customerUser/retrySync', //账号对接失败单个重试
        ErrorGreneAll: HOST + '/amembership/customerUser/retrySyncAll', //账号对接失败全部重试

        checkPriceRevisionPwd: HOST + '/amembership/member/checkPriceRevisionPwd.jhtml', //校验密码本
        tempDeliver: HOST + '/aorder/temp/tempDeliver', //临采商品发货
        updateSecondarySentType: HOST + '/aorder/anomal/updateSecondarySentType', //异常订单更新配送方式
        editTempDeliverInfo: HOST + '/aorder/temp/editTempDeliverInfo', //编辑临采信息
        checkRestrictCustomer: HOST + '/aorder/anomal/checkRestrictCustomer', //客户状态查询
        goTradePageNew: HOST2 + '/trade/goTradePageNew',
        orderTake: HOST + '/aorder/orderTake',
        order_queryOrder: HOST + '/aorder/ordermanage/queryOrder', //获取订单列表
        order_queryOrderDetails: HOST + '/aorder/ordermanage/queryOrderDetails', //获取订单详情
        queryOrderForChangePrice: HOST + '/aorder/ordermanage/queryOrderForChangePrice', //获取订单改价详情
        order_QyOrderDetails: HOST + '/aorder/ordercancleapply/queryOrderCancleApplyDetails', //取消订单申请管理获取订单详情
        order_cancleOrder: HOST + '/aorder/cancle/cancleOrder', //客服取消
        order_saveOrderRemark: HOST + '/aorder/orderremark/saveOrderRemark', //订单备注
        order_saveRefundRemark: HOST + '/aorder/refundremark/saveRefundRemark', //退货单备注保存
        order_saveMaintainRemark: HOST + '/aorder/refundremark/saveMaintainRemark', //维修单备注保存
        order_edit: HOST + '/aorder/undistributed/edit', //待配货-客户编辑
        order_rejectCancleApply: HOST + '/aorder/ordercancleapply/rejectCancleApply', //驳回
        order_followCancleApply: HOST + '/aorder/ordercancleapply/followCancleApply', //跟进
        // order_rejectAllOrders: HOST+'/aorder/unreceived/rejectAllOrders', //全部拒收
        order_rejectOrder: HOST + '/aorder/unreceived/rejectOrder', //部分拒收
        order_comfirmMoney: HOST + '/aorder/confirm/comfirmMoney', //确认认款
        order_apply_return: HOST + '/aorder/group/apply_return', //待结算-退货
        order_ordersuccess_refund: HOST + '/aorder/ordersuccess/refund', //订单完成-退货
        order_maintain: HOST + '/aorder/ordersuccess/maintain', //待结算-维修
        //      order_ordersuccess_maintain: HOST+'/aorder/ordersuccess/maintain', //订单完成-维修
        order_queryAnomalOrder: HOST + '/aorder/anomal/queryAnomalOrder', //异常订单列表
        order_checkAnomalNotPass: HOST + '/aorder/anomal/checkAnomalNotPass', //异常订单取消
        order_checkAnomalPass: HOST + '/aorder/anomal/checkAnomalPass', //异常订单审核通过
        order_custromTy: HOST + '/amembership/mainCustomer/mainCustomerType', //异常订单列表获取客户组类型
        order_queryRefundOrder: HOST + '/aorder/refundmanage/queryRefundOrder', //退货列表
        order_queryRefundOrderDetails: HOST + '/aorder/refundmanage/queryRefundOrderDetails', //退货详情
        order_cancelRefundItem: HOST + '/aorder/refundaccepted/cancelRefundItem', //退货单商品行关闭
        order_unaudit_auditAgree: HOST + '/aorder/unaudit/auditAgree', //退货待审核-审核通过
        order_unaudit_auditReject: HOST + '/aorder/unaudit/auditReject', //退货待审核-审核驳回
        order_refundaccepted_cancelRefundOrder: HOST + '/aorder/refundaccepted/cancelRefundOrder', //退货已受理-取消
        order_queryMaintainOrder: HOST + '/aorder/maintainmanage/queryMaintainOrder', //维修列表
        order_queryMaintainOrderDetails: HOST + '/aorder/maintainmanage/queryMaintainOrderDetails', //维修详情
        order_maintainunaudit_auditAgree: HOST + '/aorder/maintainunaudit/auditAgree', //维修待审核-审核通过
        order_maintainunaudit_auditReject: HOST + '/aorder/maintainunaudit/auditReject', //维修待审核-审核驳回
        order_maintainaccepted_cancelMaintainOrder: HOST + '/aorder/maintainaccepted/cancelMaintainOrder', //维修已受理-取消
        order_finishMaintainOrder: HOST + '/aorder/maintainaccepted/finishMaintainOrder', //维修单完成
        order_changeMaintainType: HOST + '/aorder/maintainunaudit/changeMaintainType', //保存送修方式
        applyReturn: HOST + '/aorder/refundmanage/applyReturn', //订单客服退货申请
        order_return_address: HOST + '/amembership/adminGetAddByAddressId.jhtml', //退货单和维修单根据addressId查询地址
        order_return_address_new: HOST + '/abaseservice/area/getLowerAddress', //退货单和维修单根据addressId查询地址
        // img_basicservice_upload:HOST+'/basicservice/upload',//图片上传http://test.api.fsyuncai.com/basicservice/upload
        order_price_change: HOST + '/aorder/price_manage/change_price', //订单改价确认按钮接口
        order_cancel_apply: HOST + '/aorder/ordercancleapply/listOrderCancleApply', //条件查询取消订单申请表
        order_queryInovice: HOST + '/aorder/inovice/queryInovice', //条件查询发票列表
        order_queryInoviceDetails: HOST + '/aorder/inovice/queryInoviceDetails', //发票详情
        order_updateInoviceLogistics: HOST + '/aorder/inovice/updateInoviceLogistics', //更新补开发票物流信息
        exportExcel: HOST + '/aorder/inovice/excelImport', // 导出补开发票管理
        queryOrderWarning: HOST + '/aorder/orderwarning/queryOrderWarning', //获取订单预警列表
        relieveOrderWarning: HOST + '/aorder/orderwarning/relieveOrderWarning', //解除订单预警
        queryStoreAddressByPwarehouseCode: HOST + '/abaseservice/warehouse/queryStoreAddressByPwarehouseCode', //根据父仓库编码查询该父仓库下的所有门店及子仓库
        beforeReject: HOST + '/aorder/unreceived/beforeReject', //验证客服拒收
        downLoadFromUrl: HOST + '/abaseservice/downLoadFromUrl', //下载附件
        orderSearch: HOST + '/anobodyhouse/orderSearch', //方盛云仓订单查询
        orderProductSearch: HOST + '/anobodyhouse/orderProductSearch', //方盛云仓订单详情
        queryOperateLogByOrderId: HOST + '/aorder/orderOperateLog/queryOperateLogByOrderId', //操作日志
        orderintegralSubmit: HOST + '/aorder/integral/updateOrderLogisticsInfo',
        integralOrderDelivery: HOST + '/aorder/integral/integralOrderDelivery',
        queryOrderSplitDetails: HOST + '/aorder/ordermanage/queryOrderSplitDetails',
        lockOrder: HOST + '/aorder/split/lockOrder',
        passCancelApply: HOST + '/aorder/ordercancleapply/passCancelApply', //取消订单通过
        splitOrder: HOST + '/aorder/split/splitOrder', //生成子订单
        updateLngAndLat: HOST + '/aorder/anomal/updateLngAndLat', //生成经纬度
        getSelfTakeDeliveryInfo: HOST + '/aorder/ordermanage/getSelfTakeDeliveryInfo', //获取取货信息
        updateOrderBigType: HOST + '/aorder/anomal/updateOrderBigType', //异常订单更新订单大类
        pushOrder: HOST + '/aorder/anomal/pushOrder', //订单下推
        preorder_unaudit_auditAgree: HOST + '/aorder/unaudit/preAuditAgree', //退货待审核-审核通过
        querySelfTakeProduct: HOST + '/aorder/anomal/querySelfTakeProduct', //退货待审核-审核通过
        queryReturnLinkOrder: HOST + '/aorder/refundmanage/queryReturnLinkOrder', //通过客户id查询关联逆向订单
        queryBackgroundSupplementInvoice: HOST + '/aorder/inovice/queryBackgroundSupplementInvoice', //后台查询可开发票信息
        queryInvoiceInfoByMemberId: HOST + '/amembership/invoice/queryInvoiceInfoByMemberId', //补开发票-后台-普通发票&增值税发票查询
        getInvoiceAddress: HOST + '/amembership/invoiceAddress/getInvoiceAddress', //补开发票-后台-增票收票（邮寄地址）信息查询
        makeUpInvoiceByCustomerService: HOST + '/aorder/inovice/makeUpInvoiceByCustomerService', //补开发票-后台-提交
        getMemberById: HOST + '/amembership/member/getMemberById', //补开发票-验证普通会员还是认证会员
        deductLimit: HOST + '/aorder/anomal/deductLimit', //扣额度
        getAllBank: HOST + '/apayment/getAllBank', //条件查询银行账户
        getBankInfo: HOST + '/aorder/confirm/getBankInfo', //根据订单号查询银行转账信息
        searchAnomalSendRuler: HOST + '/aorder/anomal/searchAnomalSendRuler', //预计送达时间 修改
        modifyMayArrivedIn: HOST + '/aorder/anomal/modifyMayArrivedIn', //预计送达时间 修改保存
        changeAnomalWarehouse: HOST + '/aorder/anomal/changeAnomalWarehouse', //更改建议发货仓
        receiveGoodsList: HOST + '/aorder/anomal/receiveGoodsList', //关联订货单
        getAvailableWarehouses: HOST + '/aorder/anomal/getAvailableWarehouses', //异常订单查询发货仓
        getAvailableOrderTypes: HOST + '/aorder/anomal/getAvailableOrderTypes', //异常订单查询订单类型
        getAvailableSendTypes: HOST + '/aorder/anomal/getAvailableSendTypes', //异常订单查询配送方式
        checkOrderInfoChanges: HOST + '/aorder/anomal/checkOrderInfoChanges', //检查异常订单修改信息
        modifyAbnormalOrderInfo: HOST + '/aorder/anomal/modifyAbnormalOrderInfo', //保存异常订单修改信息
        checkReceiptOrderProductCount: HOST + '/aorder/anomal/checkReceiptOrderProductCount', //关联接货单确认检查
        validateWhetherOrdered: HOST + '/aorder/ordermanage/validateWhetherOrdered', //检查是否关联订货单

    },
    /*电子券管理*/
    couponInter: {
        coupon_createTopic: HOST + '/acoupon/createTopic', //电子券主题创建
        coupon_getCouponTopicList: HOST + '/acoupon/getCouponTopicListForPage', //查询电子券主题列表
        coupon_getCouponTopicById: HOST + '/acoupon/getCouponTopicById', //查询电子券主题根据主题ID
        coupon_topicForceInvalid: HOST + '/acoupon/topicForceInvalid', //电子券主题强制失效
        coupon_excelImportProduct: HOST + '/acoupon/excelImportProduct', //电子券主题导入商品excel数据
        coupon_excelImportUser: 'https://' + window.location.host + '/api/inner/acoupon/excelImportUser', //导入客户Excel表
        coupon_queryCustomerByCustomerName: HOST + '/acoupon/queryCustomerByCustomerName', //根据客户名称关键字模糊查询客户信息
        coupon_insertCouponSendCustomer: HOST + '/acoupon/insertCouponSendCustomer', //插入并保存要发券的客户
        coupon_insertUpdateCouponSendCustomer: HOST + '/acoupon/insertUpdateCouponSendCustomer', //修改发券时,插入并保存要发券的客户
        coupon_queryHandAddSendCustomer: HOST + '/acoupon/queryHandAddSendCustomer', //查询手动添加的发券客户
        coupon_delUpdateSendCouponHandAddSendCustomer: HOST + '/acoupon/delUpdateSendCouponHandAddSendCustomer', //删除添加的要发券的客户
        coupon_getCouponTopic: HOST + '/acoupon/getCouponTopic', //获取电子券主题 (根据主题编码 和 主题名称)
        coupon_insertCouponSendTopic: HOST + '/acoupon/insertCouponSendTopic', //插入并保存要发券的主题
        coupon_updateIssuedNumAndsendSum: HOST + '/acoupon/updateIssuedNumAndsendSum', //更新要发券主题的剩余数量和发放数量
        coupon_queryHandAddSendTopic: HOST + '/acoupon/queryHandAddSendTopic', //发券创建页面查询手动添加的发券主题
        coupon_querySendCustAndTopicByTokenAndSendCouponId: HOST + '/acoupon/querySendCustAndTopicByTokenAndSendCouponId', //发券修改页面查询手动添加的发券主题
        coupon_delUpdateCouponSendTopic: HOST + '/acoupon/delUpdateCouponSendTopic', //删除添加的要发券的主题
        coupon_createSendCoupon: HOST + '/acoupon/createSendCoupon', //发券创建
        coupon_querySendCouponAudit: HOST + '/acoupon/querySendCouponAuditForPage', //发券创建-发券审核查询(模糊查询)
        coupon_oneAuditPass: HOST + '/acoupon/oneAuditPass', //发券创建-审核通过
        coupon_oneAuditNotPass: HOST + '/acoupon/oneAuditNotPass', // 发券创建-审核不通过
        coupon_queryAuditDetail: HOST + '/acoupon/queryAuditDetail', //发券创建-查询发券审核详情
        coupon_updateSendCoupon: HOST + '/acoupon/updateSendCoupon', //发券创建-修改
        coupon_queryUpdateHandAddSendTopicSendCustomer: HOST + '/acoupon/queryUpdateHandAddSendTopicSendCustomer',
        // 发券创建-修改-查询手动添加的发券主题和客户
        coupon_querySendCoupon: HOST + '/acoupon/querySendCouponForPage', //发券查询(模糊查询)
        coupon_getCouponInfoExpiredList: HOST + '/acoupon/getCouponInfoExpiredListForPage', //用券明细查询(模糊)
        coupon_exportProductExcel: HOST + '/acoupon/exportProductExcel?topicId=', //导出商品SpuHOSTu数据表
        coupon_downloadCouponInfo: HOST + '/acoupon/downloadCouponInfo1?', //导出用券明细数据
        coupon_downloadProductExcelTemplate: HOST + '/acoupon/downloadProductExcelTemplate', //下载商品模板
        coupon_downloadUserExcelTemplate: HOST + '/acoupon/downloadUserExcelTemplate',
        coupon_downloadGeneralUserExcelTemplate: HOST + '/acoupon/downloadGeneralUserExcelTemplate',
        coupon_exportUserExcel: HOST + '/acoupon/exportUserExcel?sendCouponId=',
        coupon_insertUpdateCouponSendTopic: HOST + '/acoupon/insertUpdateCouponSendTopic', //修改发券创建时插入并保存要修改的发券主题
        coupon_updateSendCouponIssuedNumAndsendSum: HOST + '/acoupon/updateSendCouponIssuedNumAndsendSum', //发券修改 更新要发券主题的剩余数量和发放数量
        coupon_delHandAddSendCustomer: HOST + '/acoupon/delHandAddSendCustomer', //创建删除客户
        coupon_delHandAddSendTopic: HOST + '/acoupon/delHandAddSendTopic', //创建删除主题

        coupon_checkHandAddSendCustType: HOST + '/acoupon/checkHandAddSendCustType', //发券创建 - 切换客户类型
        coupon_checkUpdateHandAddSendCustType: HOST + '/acoupon/checkUpdateHandAddSendCustType', //发券修改 - 切换客户类型
        coupon_queryHandAddSendCustomerByCustTypeAndMarkNumber: HOST + '/acoupon/queryHandAddSendCustomerByCustTypeAndMarkNumber', //查询发券客户根据客户类型和标记号
        coupon_queryHandAddSendCustomerBySendCouponIdCustTypeMarkNumber: HOST + '/acoupon/queryHandAddSendCustomerBySendCouponIdCustTypeMarkNumber', //查询发券客户根据发券ID客户类型及标记号

        //==============================================1.5.0=====================================================

        coupon_saveCouponSendCustomer: HOST + '/acoupon/saveCouponSendCustomer',
        coupon_saveCouponSendTopic: HOST + '/acoupon/saveCouponSendTopic',
        coupon_saveSendCoupon: HOST + '/acoupon/saveSendCoupon',
        updateTopicUrl: HOST + '/acoupon/updateTopicUrl',
        sendCouponForceInvalid: HOST + '/acoupon/sendCouponForceInvalid',
        getCopyExtension: HOST + '/acoupon/getCopyExtension',
        coupon_modifySendCoupon: HOST + '/acoupon/modifySendCoupon',




    },
    /*权限管理*/
    accessInter: {
        access_main_api: HOST + '/arights/mainApi', //权限菜单
        imgIdentifyCode: HOST + '/arights/code/imgIdentifyCode', //登录获取验证码
        login_api: HOST + '/arights/login_api', //登录
        login: HOST + '/arights/login', //登录
        access_listRolesApi: HOST + '/arights/role/listRolesApi', //获取角色列表
        access_listUsername: HOST + '/arights/user/listUsername', //获取用户名列表
        access_findManager: HOST + '/arights/user/findManager',
        access_addUsernameApi: HOST + '/arights/role/addUsernameApi',
        deleteOnlyUserIdApi: HOST + '/arights/role/deleteOnlyUserIdApi',
        access_deleteUsernameApi: HOST + '/arights/role/deleteUsernameApi', //删除用户名称
        access_editRoleApi: HOST + '/arights/role/editRoleApi', //编辑角色
        access_addRoleApi: HOST + '/arights/role/addRoleApi', //添加角色
        access_department_deleteApi: HOST + '/arights/department/deleteApi', //删除部门
        access_menuqxApi: HOST + '/arights/role/menuqxApi',
        access_saveMenuqxApi: HOST + '/arights/role/saveMenuqxApi',
        access_editRoleGroupApi: HOST + '/arights/role/editRoleGroupApi', //编辑角色组
        access_addGroupApi: HOST + '/arights/role/addGroupApi', //添加分组
        access_hasName: HOST + '/arights/department/hasName', //判断部门名是否存在
        access_department_saveApi: HOST + '/arights/department/saveApi', //验证保存父部门
        access_department_editApi: HOST + '/arights/department/editApi', //验证编辑父部门
        access_department_listDepartment: HOST + '/arights/user/listBianma', //根据编码查询部门名称和编码
        access_department_saveNextApi: HOST + '/arights/department/saveNextApi',
        access_role_listRole: HOST + '/arights/role/listRole',
        access_user_findRole: HOST + '/arights/user/findRole',
        access_role_findByRoleName: HOST + '/arights/role/findByRoleName',
        access_user_deleteRole: HOST + '/arights/user/deleteRole',
        access_user_editUserApi: HOST + '/arights/user/editUserApi',
        access_user_saveUApi: HOST + '/arights/user/saveUApi',
        access_user_listUsersApi: HOST + '/arights/user/listUsersApi',
        access_user_editS: HOST + '/arights/user/editS', //用户停用接口
        access_department_listApi: HOST + '/arights/department/listApi',
        access_role_deleteRole: HOST + '/arights/role/deleteRole',
        access_role_listUser: HOST + '/arights/role/listUser', //查询关联用户名和姓名
        access_role_listRolesApi: HOST + '/arights/role/listRolesApi',
        access_role_editS: HOST + '/arights/role/editS', //角色停用接口

        access_menu_save: HOST + '/arights/menu/saveMenu', //保存菜单
        access_menu_update: HOST + '/arights/menu/updateMenu', //修改菜单
        access_menu_delete: HOST + '/arights/menu/deleteMenu', //修改菜单
        access_role_save: HOST + '/arights/role/saveRuleRights', //保存权限
        access_button_query: HOST + '/arights/menu/getBaseButton', //基础获取
        access_button_add: HOST + '/arights/menu/addBaseButton', //基础添加
        access_button_update: HOST + '/arights/menu/updateBaseButton', //基础修改
        access_button_delete: HOST + '/arights/menu/deleteBaseButton', //基础删除

        getAreaList: HOST + '/arights/userDataConfig/getAreaList', //区域配置下拉框
        getWarehouseList: HOST + '/arights/userDataConfig/getWarehouseList', //区域配置列表查询
        saveAreaConfig: HOST + '/arights/userDataConfig/saveAreaConfig', //区域配置保存
        getOrganizationList: HOST + '/arights/userDataConfig/getOrganizationList', //公司配置列表查询
        saveOrganizationConfig: HOST + '/arights/userDataConfig/saveOrganizationConfig', //公司配置保存
        getSalesSupervisorList: HOST + '/arights/userDataConfig/getSalesSupervisorList', //人员配置列表查询
        saveSalesSupervisorConfig: HOST + '/arights/userDataConfig/saveSalesSupervisorConfig', //公司配置保存
        queryTipsNum: HOST + '/aorder/tips/queryTipsNum',


    },
    /*代客下单接口*/
    replaceInter: {
        //草稿箱
        replace_searchBox: HOST + '/acart/adminTrade/searchBox', //搜索草稿列表
        replace_deleteBoxByOperator: HOST + '/acart/adminTrade/deleteBoxByOperator', //删除草稿
        // 新建订单页接口
        replace_adminLenovoByCustomerName: HOST + '/amembership/adminLenovoByCustomerName.jhtml', //模糊查询客户名称列表
        replace_getAddressCorrespondWarehouse: HOST + '/abaseservice/area/getAddressCorrespondWarehouse', //根据地区获取仓库编码
        replace_adminLenovoByLoginAccount: HOST + '/amembership/adminLenovoByLoginAccount.jhtml', //获取下单账号
        replace_adminQueryCustomerNameOrAccount: HOST + '/amembership/adminQueryCustomerNameOrAccount.jhtml', //根据客户名称、手机号、下单账号查询信息
        replace_adminGetAddByParam: HOST + '/amembership/adminGetAddByParam.jhtml', //获取省市区县列表
        replace_adminGetRegionAddress: HOST + '/amembership/adminGetRegionAddress.jhtml', //获取全国省市区县列表
        replace_adminGetCommonUseOrDefaultAddress: HOST + '/amembership/adminGetCommonUseOrDefaultAddress.jhtml', //常用地址查询
        replace_get_account_info: HOST + '/apayment/get_account_info', //可用额度查询
        replace_getAccountJsonByLoginAccount: HOST + '/acontract/account/getAccountJsonByLoginAccount.jhtml', //是否需要审核
        replace_saveTradeBox: HOST + '/acart/adminTrade/saveTradeBox', //保存草稿
        replace_findTradeBoxItems: HOST + '/acart/adminTrade/findTradeBoxItems', //查询某一条草稿
        // replace_skuStockForCuster: HOST+'/aproduct/stock/HOSTuStockForCuster',  //判断当前代客下单库存是否超出
        replace_skuSubstituteList: HOST + '/aproduct/product/skuSubstituteList', //搜索该搜索参数下的商品
        replace_getAllCategory: HOST + '/aproduct/category/getAllCategory', //获取分类树
        replace_getCategoryChildSku: HOST + '/aproduct/product/getCategoryChildSku', //获取分类树下的商品列表
        replace_checkCartProduct: HOST + '/atrade/adminTrade/checkCartProduct', //进入订单页前验证
        replace_inquiryDisposeTake: HOST + '/ainquiry/inquiryDisposeTake', //代客下单获取询价单生成订单接口
        replace_getCustmerAreaChange: HOST + '/aproduct/product/getCustmerAreaChange', //代客下单更新选择商品库存接口
        // 确认订单页接口
        replace_adminCheckArchivalPhone: HOST + '/amembership/adminCheckArchivalPhone.jhtml', //存档电话验证
        replace_adminQueryMemberShipPerson: HOST + '/amembership/adminQueryMemberShipPerson.jhtml', //授权收货人获取
        replace_adminViewMemberShipPerson: HOST + '/amembership/adminViewMemberShipPerson.jhtml', //编辑查看收货人地址信息
        replace_adminUpdateMemberShoppingAddress: HOST + '/amembership/adminUpdateMemberShoppingAddress.jhtml', //编辑地址
        replace_adminQueryAddressAfterUpdate: HOST + '/amembership/adminQueryAddressAfterUpdate.jhtml', //编辑地址后刷新列表
        replace_adminAddMemberShoppingAddress: HOST + '/amembership/adminAddMemberShoppingAddress.jhtml', //添加地址
        replace_adminQueryAddressPerson: HOST + '/amembership/adminQueryAddressPerson.jhtml', //查询收货人地址列表
        replace_adminQueryAddressAfterAdd: HOST + '/amembership/adminQueryAddressAfterAdd.jhtml', //添加地址后刷新列表
        replace_deleteMemberShoppingAddress: HOST + '/amembership/deleteMemberShoppingAddress.jhtml', //删除添加的收货人地址
        replace_showOrderPageInfo: HOST + '/atrade/adminCreateOrder/showOrderPageInfo', //进入确认订单页
        replace_getShippingAddressInfo: HOST + '/atrade/adminCreateOrder/getShippingAddressInfo', //获取运费信息
        replace_saveAdminTradeInfo: HOST + '/atrade/adminCreateOrder/saveAdminTradeInfo', //提交订单
        replace_getConsigneeByCustomerCode: HOST + '/amembership/consignee/getConsigneeByCustomerCode.jhtml', /// 根据客户编码获取该客户下的授权收货人
        replace_saveInvoiceInfo: HOST + '/amembership/invoice/saveInvoiceInfo', //保存会员发票信息
        replace_queryInvoiceInfoByMemberId: HOST + '/amembership/invoice/queryInvoiceInfoByMemberId', //获取会员发票信息
        confirm: HOST + '/atrade/adminTrade/confirm', //订单确认初始化
        submitTrade: HOST + '/atrade/adminTrade/submitTrade', //订单提交
        // 代客下单发票
        queryInvoiceInfoByMemberId: HOST + '/amembership/invoice/queryInvoiceInfoByMemberId', //初始化发票信息
        saveInvoiceInfo: HOST + '/amembership/invoice/saveInvoiceInfo', //保存发票信息
    },
    xunjiadan: {
        /*询价单管理*/
        getInquiryManagerList: HOST + '/ainquiry/inquiryDisposeSelectable',
        InquiryOrderMatch: HOST + '/ainquiry/inquiryDisposeEnterCheck',

        /*匹配页面*/
        getProductInfo: HOST + '/ainquiry/inquiryDisposeSelectMange',
        getRemarksList: HOST + '/ainquiry/inquiryDisposeSelectResult',
        getFileList: HOST + '/ainquiry/inquiryDisposeSelectFile',
        getProductList: HOST + '/ainquiry/inquiryDisposeSelectInfo',
        addRemarks: HOST + '/ainquiry/inquiryDisposeInsertResult',
        deleteRemarks: HOST + '/ainquiry/inquiryDisposeDeleteResult',
        //报价单说明
        inquiryQuotationExplain: HOST + '/ainquiry/inquiryQuotationExplain', //列表
        addInquiryQuotationExplain: HOST + '/ainquiry/addInquiryQuotationExplain', //新增
        deleteInquiryQuotationExplain: HOST + '/ainquiry/deleteInquiryQuotationExplain', //删除

        orderCheckUpdate: HOST + '/ainquiry/inquirySecondSave', //订单查询及修改状态接口     定价页面与用此接口

        /*添加商品*/
        searchProductName: HOST + '/aproduct/product/matchProduct', // 商品查询

        //查看询价单页面
        inquirySecondExcel: HOST + '/ainquiry/inquirySecondExcel',
        // 匹配商品页面
        exportUrl: HOST + '/aproduct/product/matchProduct',
        getSkuDetailList: HOST + '/aproduct/product/skuDetailList',
        //下载附件
        downLoadFromUrl: HOST + '/abaseservice/downLoadFromUrl',
        searchRecord: HOST + '/ainquiry/searchRecord', //操作日志
        searchSkuInfoDetailByPage: HOST + '/aproduct/product/searchSkuInfoDetailByPage',

    },
    cooperation: {
        /*我要合作*/
        excel: HOST + '/astore/excel?',
        /*导出*/
        conditionQuery: HOST + '/astore/conditionQuery',
        /*主页面筛选*/
        update: HOST + '/astore/update',
        /*添加处理结果*/
        selectSencondSign: HOST + '/astore/selectSencondSign' /*查询表结果*/
    },
    consignee: {
        /*授权收货人*/
        getConsigneeApplyByPage: HOST + '/amembership/consignee/getConsigneeApplyByPage.jhtml',
        /*查询授权收货人审核列表*/
        updateRemarksById: HOST + '/amembership/consignee/updateRemarksById.jhtml',
        /*修改备注*/
        auditConsigneeInfo: HOST + '/amembership/consignee/auditConsigneeInfo.jhtml',
        /*审核授权收货人*/
        getConsigneeList: HOST + '/amembership/consignee/getConsigneeList.jhtml' /*卖场前台查询授权收货人列表*/
    },
    //会员
    member: {
        adminMember2CList: HOST + '/amembership/adminMember2CList.jhtml',
        /*普通会员-查询*/
        updateMemberStatus: HOST + '/amembership/updateMemberStatus.jhtml',
        /*普通会员-开启关闭状态*/
        viewMember: HOST + '/amembership/viewMember.jhtml',
        /*普通会员-查看详情*/
        optRecordList: HOST + '/amembership/optRecordList.jhtml ',
        /*普通会员-日志查询*/
        updateMember: HOST + '/amembership/updateMember.jhtml',
        /*普通会员-修改会员*/
        getGroup: HOST + '/acontract/org/getGroup.jhtml',
        /*普通会员-获取客户归属*/
        custAccountList: HOST + '/amembership/custAccountList.jhtml ',
        /*签约客户列表*/
        viewCustAccount: HOST + '/amembership/viewCustAccount.jhtml ',
        /*客户账号查看详情*/
        queryCertifiedMember: HOST + '/amembership/memberCompanyInfo/queryCertifiedMember',
        /*认证会员-条件查询*/
        updateMemberStatusmember: HOST + '/amembership/member/updateMemberStatus ',
        /*认证会员-开启关闭状态*/
        getMemberDetailByMemberId: HOST + '/amembership/member/getMemberDetailByMemberId ',
        /*认证会员-查看详情*/
        listOperationRecord: HOST + '/amembership/operationRecord/listOperationRecord',
        /*认证会员-查看日志*/
        updateMembermember: HOST + '/amembership/member/updateMember',
        /*企业会员查看详情-编辑客户基本信息*/
        updateMemberCompanyInfo: HOST + '/amembership/memberCompanyInfo/updateMemberCompanyInfo',
        /*企业会员查看详情-编辑企业信息*/
        listUpgradeAudit: HOST + '/amembership/memberCompanyInfo/listUpgradeAudit',
        /*升级企业会员审核--查询*/
        updateMemberCompanyExamStatus: HOST + '/amembership/memberCompanyInfo/updateMemberCompanyExamStatus',
        /*升级企业会员审核 通过与拒绝*/
        adminGetRegionAddress: HOST + '/amembership/adminGetRegionAddress.jhtml',
        /**/
        getLowerAddress: HOST + '/abaseservice/area/getLowerAddress',
        /*地址库查询*/

        groundPushPersonList: HOST + '/amembership/queryGroundPushPerson.jhtml',
        /*地推人员列表*/
        updateGroundPushPerson: HOST + '/amembership/updateGroundPushPerson.jhtml',
        /*普通会员-开启关闭状态*/
        queryGroundMember: HOST + '/amembership/queryGroundMember.jhtml',
        /*地推人员注册的人员列表*/
        /*地推人员注册的人员列表*/
        viewCustInfoRegisterForm: HOST + '/amembership/viewCustInfoRegisterForm.jhtml',
        /*地推登记表编辑查看*/
        /*地推人员注册的人员列表*/
        updateCustInfoRegisterForm: HOST + '/amembership/updateCustInfoRegisterForm.jhtml',
        /*地推登记表编辑*/

        updateGroundDownloadNum: HOST + '/amembership/updateGroundDownloadNum.jhtml',
        /*地推人员二维码下载统计*/

        /** 导入**/
        groundPushImport: HOST + '/amembership/excelImportGroundPush.jhtml',
        /** 下载模版**/
        downloadImportTemplate: HOST + '/amembership/downloadImportTemplate.jhtml',
        updatePushmanCompany: HOST + '/amembership/updatePushmanCompany',

        getLevelsByPage: HOST + '/aintegral/getAllGrade', // 等级信息分页
        getLevelsById: HOST + '/aintegral/getGradeInfoById', // 等级信息分页
        saveLevel: HOST + '/aintegral/addGrade', // 保存等级信息
        updateLevel: HOST + '/aintegral/updateGrade', // 保存等级信息
        updateLevelState: HOST + '/aintegral/updateGradeStatus', // 保存等级信息

        getAllLevel: HOST + '/amembercenter/levels', // 获取所有等级信息
        getPointsByPage: HOST + '/aintegral/getAllIntegralRule', // 积分管理信息分页
        getPointById: HOST + '/aintegral/getIntegralRuleById', // 积分信息详情
        savePoint: HOST + '/aintegral/addIntegralRule', // 保存积分信息
        updatePoint: HOST + '/aintegral/updateIntegralRule', // 更新积分信息
        updatePointState: HOST + '/aintegral/updateIntegralRuleStatus', // 更新积分状态
        listIntegralExclude: HOST + '/aintegral/listIntegralExclude', // 排除会员查询
        deleteIntegralExclude: HOST + '/aintegral/deleteIntegralExclude', // 排除会员删除
        listIntegralManage: HOST + '/aintegral/listIntegralManage', // 排除会员添加页面展示列表
        insertIntegralExclude: HOST + '/aintegral/insertIntegralExclude', // 排除会员添加页面保存
        getIntegralManages: HOST + '/aintegral/getIntegralManages', // 会员等级积分管理查询
        getIntegralManageByMemberId: HOST + '/aintegral/getIntegralManageByMemberId', // 会员等级积分管理详情
        listIntegralRecordByMemberId: HOST + '/aintegral/listIntegralRecordByMemberId', // 会员等级积分管理详情查询表格
        handMoveIntegral: HOST + '/aintegral/handMoveIntegral', // 会员等级积分管理详情查询表格
        cancelStatus: HOST + '/amembership/member/cancelStatus', // 账号注销
        listPage: HOST + '/amembership/mainCustomer/listPage', // 自行建立关系创建账号池列表查询
        mainCustomerupdate: HOST + '/amembership/mainCustomer/update', // 自行建立关系创建账号池修改名称
        deleteBatchByIds: HOST + '/amembership/mainCustomer/deleteBatchByIds', // 自行建立关系创建账号池删除
        mainCustomersave: HOST + '/amembership/mainCustomer/save', // 自行建立关系创建账号池添加
        getCustomers: HOST + '/amembership/customer/getCustomers', // 查询主客户
        relationMainCustomer: HOST + '/amembership/customer/relationMainCustomer', // 关联主客户
        addMembers: HOST + '/amembership/member/addMembers', // 账号创建
        getMembers: HOST + '/amembership/member/getMembers', // 账号创建列表
        getAdminAccountByMainCustomerId: HOST + '/amembership/member/getAdminAccountByMainCustomerId', // 查看管理员 账号
        updateMemberStatus2: HOST + '/amembership/updateMemberStatus', // 账号创建修改状态
        updateMemberEmploy: HOST + '/amembership/member/updateMemberEmploy', // 账号创建修改使用人
        getCustomerDropDown: HOST + '/amembership/customer/getCustomerDropDown', // 账号关联选择项目
        saveBindRelation: HOST + '/amembership/accountRelation/saveBindRelation', // 建立关联
        memberRelationship: HOST + '/amembership/member/memberRelationship', // 账号关系表查询
        deleteBindRelation: HOST + '/amembership/accountRelation/deleteBindRelation', // 账号关系表解除关联
        queryCustomerManager: HOST + '/amembership/queryCustomerManager', // 签约账号查询
        queryCustomerMsg: HOST + '/amembership/queryCustomerMsg', // 签约账号详情
        getDetail: HOST + '/amembership/accountRelation/getDetail', // 修改账号关联查询
        updateBindRelation: HOST + '/amembership/accountRelation/updateBindRelation', // 修改账号关联查询
        updateMemberByCertification: HOST + '/amembership/member/updateMemberByCertification', // 认证审核客户基本信息
        updateMemberCompanyInfoByCertification: HOST + '/amembership/memberCompanyInfo/updateMemberCompanyInfoByCertification', // 认证审核客户企业信息
        searchOrgList: HOST + '/amembership/searchOrgList', //客户归属
        updateOrg: HOST + '/amembership/updateOrg',
        updatePushmanInfo: HOST + '/amembership/updatePushmanInfo', //地推修改
        resetPassword: HOST + '/amembership/member/resetPassword', //签约客户重置密码
        findAccountByPage: HOST + '/amembership/findAccountByPage.jhtml', //签约客户
        getCustomerSetupByCode: HOST + '/acontract/customerExt/getCustomerSetupByCode.jhtml', //签约客户
        getInvoice: HOST + '/acontract/invoice/getInvoice.jhtml', //签约客户
        getCustomerFreightDetail: HOST + '/acontract/customerExt/getCustomerFreightDetail', //签约客户运费设置
        saveCustomerFreight: HOST + '/acontract/customerExt/saveCustomerFreight', //签约客户运费设置保存
        cancelAccount: HOST + '/amembership/member/cancelAccount', //注销
        updateMobilePhone: HOST + '/amembership/member/updateMobilePhone', //修改手机号
        searchMaterielData: HOST + '/aproduct/materiel/searchMaterielData', //物料号管理-物料号列表查询
        findMaterielById: HOST + '/aproduct/materiel/findMaterielById', //物料号管理-编辑物料号查询
        deleteMaterielById: HOST + '/aproduct/materiel/deleteMaterielById', //物料号管理-删除物料号
        updateMateriel: HOST + '/aproduct/materiel/updateMateriel', //物料号管理-修改物料号
        saveMateriel: HOST + '/aproduct/materiel/saveMateriel', //物料号管理-新增物料号
        export_materiel_Execl: HOST + '/aproduct/materiel/exportMaterielExcel', //物料号管理-导出
        checkMateriel: HOST + '/aproduct/materiel/checkMateriel', //SKU编码重复校验接口
        importMaterielProductExcel: HOST + '/aproduct/materiel/importMaterielProductExcel', //物料号商品管理-前台-指定商品“批量新增”Excel导入
        materialExport: HOST + '/aproduct/productAppointRule/excelImportErrorLog/export', //物料号管理-前台-物料号“失败信息”导出
        checkMianCustomerSlideshowIsShow: HOST + '/amembership/mainCustomer/checkMianCustomerSlideshowIsShow', //选择轮播图不展示校验
        queryOrderSetup: HOST + '/amembership/mainCustomer/queryOrderSetup', //基础信息配置-查询
        saveOrderSetup: HOST + '/amembership/mainCustomer/saveOrderSetup', //基础信息配置-保存
        queryMainCustomerExtOrderSetup: HOST + '/amembership/mainCustomer/queryMainCustomerExtOrderSetup', //订单信息+审批功能配置-查询
        saveMianCustomerOrderExtSetup: HOST + '/amembership/mainCustomer/saveMianCustomerOrderExtSetup', //订单信息配置-保存
        saveMainCustomerApproveExtSetup: HOST + '/amembership/mainCustomer/saveMainCustomerApproveExtSetup', //审批功能配置-保存
        queryTempPurchaseSkuList: HOST + '/aproduct/tempProcuProduct/queryTempPurchaseSkuList', //后台查询主客户的临采商品查询接口
        chanageTempSkuForMainCustomerId: HOST + '/aproduct/tempProcuProduct/chanageTempSkuForMainCustomerId', //后台新增及移除和批量移除sku接口
        importAppointRuleExcel: HOST + '/aproduct/tempProcuProduct/importTempProductExcel', //临采“批量新增”Excel导入
        excelImportErrorLog: HOST + '/aproduct/productAppointRule/excelImportErrorLog/export', //临采商品管理-后台-指定临采商品“失败信息”导出
        listPageBySkuDimension: HOST + '/aproduct/productPool/listPageBySkuDimension', //正常商品管理-后台-正常商品池列表
        saveProductPoolRule: HOST + '/aproduct/productPoolRule/saveProductPoolRule', //正常商品管理-后台-正常商品池规则设置
        productPoollistPage: HOST + '/aproduct/productPool/listPage', //正常商品管理-后台-正常商品池列表
        productAppointRulelistPage: HOST + '/aproduct/productAppointRule/listPage', //指定正常商品查询
        productAppointRuledeleteBatchByIds: HOST + '/aproduct/productAppointRule/deleteBatchByIds', //指定正常商品移除、批量移除
        productAppointRuledeleteAllByCustomerId: HOST + '/aproduct/productAppointRule/deleteAllByCustomerId', //指定正常商品移除、全部
        productAppointRuleimportAppointRuleExcel: HOST + '/aproduct/productAppointRule/importAppointRuleExcel', //指定正常“批量新增”Excel导入
        productAppointRuleexport: HOST + '/aproduct/productAppointRule/excelImportErrorLog/export', //指定正常商品“失败信息”导出
        productShieldRulelistPage: HOST + '/aproduct/productShieldRule/listPage', //屏蔽指定正常商品查询
        productShieldRuledeleteBatchByIds: HOST + '/aproduct/productShieldRule/deleteBatchByIds', //屏蔽指定正常商品移除、批量移除
        productShieldRuledeleteAllByCustomerId: HOST + '/aproduct/productShieldRule/deleteAllByCustomerId', //屏蔽指定正常商品移除、全部删除
        importShieldRuleExcel: HOST + '/aproduct/productShieldRule/importShieldRuleExcel', //屏蔽“批量新增”Excel导入
        subCategorys: HOST + '/aproduct/category/subCategorys', //查询一级二级三级分类名称
        getProductPoolRule: HOST + '/aproduct/productPoolRule/getProductPoolRule', //获取商品池规则
        cancelProductPoolRule: HOST + '/aproduct/productPoolRule/cancelProductPoolRule', //获取商品池禁用
        synchProductPoolRule: HOST + '/aproduct/productPoolRule/synchProductPoolRule', //手动同步商品池
        getLabelsByMainCustomerId: HOST + '/amembership/mainCustomerLabel/getLabelsByMainCustomerId', //查询采购场景设置
        saveMainCustomerLabels: HOST + '/amembership/mainCustomerLabel/saveMainCustomerLabels', //保存采购场景设置
        updateSetAdminRole: HOST + '/amembership/member/updateSetAdminRole', //设置管理员角色
        updateCancelAdminRole: HOST + '/amembership/member/updateCancelAdminRole', //取消管理员角色
        updateEmail: HOST + '/amembership/member/updateEmail', //更新编辑邮箱
        findCustomerPicture: HOST + '/astore/customer/findCustomerPicture', //轮播图查询
        addCustomerPicture: HOST + '/astore/customer/addCustomerPicture', //轮播图添加
        updateCustomerPicture: HOST + '/astore/customer/updateCustomerPicture', //轮播图修改
        findCustomerPictureById: HOST + '/astore/customer/findCustomerPictureById ', //轮播图查看
        findCustomerBulletin: HOST + '/astore/customer/findCustomerBulletin', //公告管理查询
        addCustomerBulletin: HOST + '/astore/customer/addCustomerBulletin', //公告管理添加
        updateCustomerBulletin: HOST + '/astore/customer/updateCustomerBulletin', //公告管理修改
        findCustomerBulletinById: HOST + '/astore/customer/findCustomerBulletinById ', //公告管理修改
        saveMainCustomerContractSetup: HOST + '/amembership/mainCustomer/saveMainCustomerContractSetup', //销售管理保存
        queryMainCustomerContractSetup: HOST + '/amembership/mainCustomer/queryMainCustomerContractSetup', //销售管理查询
        adminMemberRegistration: HOST + '/amembership/adminMemberRegistration', //后台创建会员-- 个人注册
        adminCompanymemberRegistration: HOST + '/amembership/adminCompanymemberRegistration', //后台创建会员--企业注册
        queryCRMCustomerList: HOST + '/amembership/memberCompanyInfo/queryCRMCustomerList', //认证审核-系统匹配
        queryYCCustomerList: HOST + '/amembership/memberCompanyInfo/queryYCCustomerList', //认证审核-人工匹配
        addCRMCustomer: HOST + '/amembership/memberCompanyInfo/addCRMCustomer', //认证审核-创建客户
        submitCompanyMemberbindCustomer: HOST + '/amembership/memberCompanyInfo/submitCompanyMemberbindCustomer', //认证审核-绑定客户
        mainCustomerInfo: HOST + '/amembership/mainCustomer/info', // 获取主客户详细信息
        exportAccountRelations: HOST + '/amembership/customerUser/exportAccountRelations', // 客户组关系表导出
        exportCustomerUser: HOST + '/amembership/customerUser/exportCustomerUser', // 账号池导出

        saveCustomerNeedReceipt: HOST + '/acontract/customerExt/saveCustomerNeedReceipt', //保存回单接口
        queryUpgradeCustomer: HOST + '/amembership/customer/queryUpgradeCustomer',
        personMemberCertified: HOST + '/amembership/personMemberCertified',
        newSearchOrgList: HOST + '/amembership/newSearchOrgList', //根据name可检索客户归属
        modifyMemberCompanyId: HOST + '/amembership/member/modifyMemberCompanyId', //会员归属修改
        updateInvoiceInfoByCertified: HOST + '/amembership/invoice/updateInvoiceInfoByCertified',
    },
    promotion: {
        search_activity_location: HOST + '/abaseservice/area/getAllWarehouse', // 查询活动区域
        goods_find_activity_products: HOST + '/aproduct/product/getBaseActivitySku', // 查询促销商品
        download_single_product_template: HOST + '/apromotion//excel/downExcelTemplatePromotion', //模板下载
        add_single_activity: HOST + '/apromotion/insertActivity', //保存单品促销
        update_activity: HOST + '/apromotion/updateActivityDetalByActivityId',
        import_single_product: HOST + '/apromotion/excel/importSingleProduct', //导入单品促销excel
        import_reduce_product: HOST + '/apromotion/excel/importFullReduction', //导入满减促销excel
        search_promotion_activity_by_page: HOST + '/apromotion/queryActivityBaseByPage', //分页查询所有活动
        search_activityDetail_by_activityId: HOST + '/apromotion/getActivityDetailByActivityId', //根据id查询活动详情
        copyActivityByActivityId: HOST + '/apromotion/copyActivityByActivityId', //根据id查询活动详情--复制用，不查询商品列表
        search_activityDetail_by_activityId_page: HOST + '/apromotion/getActivityDetailByActivityIdPage', //根据id分页查询活动详情
        export_single_products_by_activityId: HOST + '/apromotion/excel/exportSingleProduct', //导出单品促销商品信息
        export_reduce_products_by_activityId: HOST + '/apromotion/excel/exportFullReduction', //导出满减促销商品信息
        cancel_activity_by_id: HOST + '/apromotion/updateActivityStatusByActivityId', // 取消活动
        cancel_product_by_id: HOST + '/apromotion/updateActivityProductToCancel', // 将商品从活动列表移除
        check_edit_price_password: HOST + '/membership/check_price_pwd.jhtml',
        listCouponSendBySendCode: HOST + '/acoupon/queryLottery/listCouponSendBySendCode',
    },
    /* 对接平台 */
    /* 对接平台 */
    dockingplatform: {
        addProductDiscount: HOST + '/aopenproduct/openPlatform/addProductDiscount', //折扣率价格
        orderAlterPrice: HOST2 + '/yspostinterface/aic/api/order/orderAlterPrice', //商品价格修改
        product_manage: HOST + '/aopenproduct/openPlatform/queryChannelSpuList', // 商品查询管理
        getInfo: HOST + '/aopenproduct/openPlatform/getInfo', // 价格设置查看列表
        addPriceInfoRule: HOST + '/aopenproduct/openPlatform/addPriceInfoRule', // 价格设置添加
        updatePriceInfoRule: HOST + '/aopenproduct/openPlatform/updatePriceInfoRule', // 价格设置修改
        deletePriceInfoRule: HOST + '/aopenproduct/openPlatform/deletePriceInfoRule', // 价格设置删除
        cleanPriceInfoRule: HOST + '/aopenproduct/openPlatform/cleanPriceInfoRule', // 价格设置全部取消
        savePriceRule: HOST + '/aopenproduct/openPlatform/savePriceRule', // 价格设置保存
        addBatchPriceInfoRule: HOST + '/aopenproduct/openPlatform/addBatchPriceInfoRule', // 价格设置保存商品设置
        channerlPriceManage: HOST + '/aopenproduct/openPlatform/channerlPriceManage', // 渠道价格设置查询
        download: HOST + '/aopenproduct/openPlatform/downloadProductExcelTemplate',
        insertChannelProductRule: HOST + '/aopenproduct/openPlatform/insertChannelProductRule',
        editChannelProductSetted: HOST + '/apreorder/channelConfig/editChannelProductSetted',
        excelImportProduct: HOST + '/aopenproduct/openPlatform/excelImportProduct',
        getOrderRelatedById: HOST + '/apreorder/channelConfig/getOrderRelatedById',
        orderRelatedSettings: HOST + '/apreorder/channelConfig/orderRelatedSettings',
        selectChannelProductRule: HOST + '/aopenproduct/openPlatform/selectChannelProductRule',
        exportProductPriceExcel: HOST + '/aopenproduct/openPlatform/exportProductPriceExcel',
        importProductPriceExcel: HOST + '/aopenproduct/openPlatform/importProductPriceExcel',
        allChannelConfig: HOST + '/apreorder/channelConfig/allChannelConfig',
        queryChannelSkuList: HOST + '/aopenproduct/openPlatform/queryChannelSkuList',
        sendSyncSkuMessage: HOST + '/aopenproduct/openPlatform/syncChannelSkuSendMessage', // 陕建项目改造 商品管理-发送SKU商品变更消息
        queryPreOrderList: HOST + '/apreorder/order/queryPreOrderList',
        listChannelConfig: HOST + '/apreorder/channelConfig/listChannelConfig',
        queryByCustomerCode: HOST + '/apreorder/channelConfig/queryByCustomerCode',
        editChannelConfig: HOST + '/apreorder/channelConfig/editChannelConfig',
        getFailedPreOrderList: HOST + '/apreorder/failed/getFailedPreOrderList',
        rerunPreOrder: HOST + '/apreorder/failed/rerunPreOrder',
        allFailedPreOrderCount: HOST + '/apreorder/failed/allFailedPreOrderCount',
        deleteChannelData: HOST + '/aopenproduct/openPlatform/deleteChannelData',
        synData: HOST + '/aopenproduct/openPlatform/synData',
        cancelopenPlatformPreOrder: HOST + '/apreorder/order/cancelPreOrder',
        getSubOrderRelatedById: HOST + '/apreorder/subChannelConfig/getOrderRelatedById',
        subOrderRelatedSettings: HOST + '/apreorder/subChannelConfig/orderRelatedSettings',
        getSalesAreaList: HOST + '/aopenproduct/openPlatform/getSalesAreaList', // 订单相关设置根据取价规则获取区域
        listSubChannelConfigByParentCustomerCode: HOST + '/apreorder/subChannelConfig/listSubChannelConfigByParentCustomerCode',
        listCustomerInfo: HOST + '/apreorder/subChannelConfig/listCustomerInfo',
        saveSubChannelConfigInfo: HOST + '/apreorder/subChannelConfig/saveSubChannelConfigInfo',
        deleteSubChannelConfigInfo: HOST + '/apreorder/subChannelConfig/deleteSubChannelConfigInfo',
        importSubChannelConfigInfo: HOST + '/apreorder/excel/importSubChannelConfigInfo',
        exportSubChannelConfigInfo: HOST + '/apreorder/excel/exportSubChannelConfigInfo',
        cancelPreOrder: HOST + '/apreorder/failed/cancelPreOrder',
        updateSubChannelConfigInfo: HOST + '/apreorder/subChannelConfig/updateSubChannelConfigInfo',
        createdAppKeyAndAppSecret: HOST + '/apreorder/channelConfig/createdAppKeyAndAppSecret',
        addForView: HOST + '/apreorder/channelConfig/addForView',
        queryAllChannelInterfaceByChannelId: HOST + '/apreorder/channelConfig/queryAllChannelInterfaceByChannelId',
        addChannelInterface: HOST + '/apreorder/channelConfig/addChannelInterface',
        updateForView: HOST + '/apreorder/channelConfig/updateForView',
        getAppKeyAndAppSecret: HOST + '/apreorder/channelConfig/getAppKeyAndAppSecret',
        queryAllInterfaceType: HOST + '/apreorder/channelConfig/queryAllInterfaceType',
        deleteChannelInterface: HOST + '/apreorder/channelConfig/deleteChannelInterface',
        approvalPreOrder: HOST + '/apreorder/order/approvalPreOrder',
        addOrderRemark: HOST + '/apreorder/remark/addOrderRemark',
        queryPreOrderDetail: HOST + '/apreorder/order/queryPreOrderDetail',
        updatePreOrdero: HOST + '/apreorder/order/updatePreOrdero',
        updatePreOrder: HOST + '/apreorder/order/updatePreOrder',
        selectChannelProject: HOST + '/apreorder/subChannelConfig/selectChannelProject',
        approvalChannelPreOrder: HOST + '/apreorder/order/approvalChannelPreOrder',
        queryPreRefundList: HOST + '/apreorder/refund/queryPreRefundList',
        passCancelApply: HOST + '/apreorder/order/passCancelApply',
        saveWarehouseCityMap: HOST + '/apreorder/channelConfig/saveWarehouseCityMap',
        updateWarehouseCityMapState: HOST + '/apreorder/channelConfig/updateWarehouseCityMapState',
        queryWarehouseCityMap: HOST + '/apreorder/channelConfig/queryWarehouseCityMap',
        queryPreMaintainList: HOST + '/apreorder/refund/queryPreMaintainList',
        queryLogistics: HOST + '/apreorder/order/queryLogistics',
        /*对接-商品*/
        insertInquiryBill: HOST + '/aopenproduct/openPlatform/insertInquiryBill',
        selectInquiryBill: HOST + '/aopenproduct/openPlatform/selectInquiryBill',
        priceCompleted: HOST + '/aopenproduct/openPlatform/priceCompleted',
        selectInquirySku: HOST + '/aopenproduct/openPlatform/selectInquirySku',
        sendSyncTempSkuMessage: HOST + '/aopenproduct/openPlatform/syncChannelTempSkuSendMessage', // 陕建项目改造--临采商品管理-发送临采商品变更消息
        cancelInquirySku: HOST + '/aopenproduct/openPlatform/cancelInquirySku',
        inquiryImportExcel: HOST + '/aopenproduct/openPlatform/inquiryImportExcel',
        repeatOpenPlatformSku: HOST + '/aopenproduct/openPlatform/repeatOpenPlatformSku',
        toPush: HOST + '/aopenproduct/openPlatform/toPush',
        repeatInquirySku: HOST + '/aopenproduct/openPlatform/repeatInquirySku',
        splitOrder: HOST + '/apreorder/order/splitOrder',
        refreshActoActualStock: HOST + '/apreorder/order/refreshActoActualStock',
        createSubOrder: HOST + '/apreorder/order/createSubOrder',
        selectSubOrderIdList: HOST + '/apreorder/order/selectSubOrderIdList',
        uploadProof: HOST + '/apreorder/order/uploadProof',
        queryProof: HOST + '/apreorder/order/queryProof',
        downloadSkuExcelTemplate: HOST + '/aopenproduct/openPlatform/downloadSkuExcelTemplate',
        queryLonAndLat: HOST + '/apreorder/order/queryLonAndLat',
        downloadLockPriceProductExcelTemplate: HOST + '/aopenproduct/openPlatform/downloadLockPriceProductExcelTemplate',
        queryOrderCancleApplyDetails: HOST + '/apreorder/order/queryOrderCancleApplyDetails',
        exportOrderExcel: HOST + '/apreorder/excel/exportOrderExcel',
        exportOrderItemExcel: HOST + '/apreorder/excel/exportOrderItemExcel',
        channelSkuByExcel: HOST + '/aopenproduct/openPlatform/channelSkuByExcel',
        selectChannelSkuFromExcel: HOST + '/aopenproduct/openPlatform/selectChannelSkuFromExcel',
        exportChannelSkuLogExcel: HOST + '/aopenproduct/openPlatform/exportChannelSkuLogExcel',
        queryCancelApplyByPlatForm: HOST + '/aorder/ordercancleapply/queryCancelApplyByPlatForm',
        exportRefundOrderExcel: HOST + '/apreorder/excel/exportRefundOrderExcel',
        exportRefundOrderItemExcel: HOST + '/apreorder/excel/exportRefundOrderItemExcel',
        queryDetailAddress: HOST + '/apreorder/refund/queryDetailAddress',

        rejectSkuCount: HOST + '/aopenproduct/openPlatform/rejectSkuCount', //对接失败商品数量获取
        exportRejectSkuExcel: HOST + '/aopenproduct/openPlatform/exportRejectSkuExcel', //对接失败商品导出

        getSkuSettleInfoList: HOST + '/aopenproduct/openPlatform/getSkuSettleInfoList', //成品油结算信息查询列表
        importSkuSettleInfoByExcel: HOST + '/aopenproduct/openPlatform/importSkuSettleInfoByExcel', // 维护成品油结算信息（导入）
        downloadSkuSettleInfoExcelTemplate: HOST + '/aopenproduct/openPlatform/downloadSkuSettleInfoExcelTemplate', // 锁价商品样表
        excelImportLockPriceProduct: HOST + '/aopenproduct/openPlatform/excelImportLockPriceProduct', // 渠道商品管理-锁价商品数据导入
        exportLockPriceProductPriceExcel: HOST + '/aopenproduct/openPlatform/exportLockPriceProductPriceExcel', // 渠道商品管理-锁价商品数据导出

        /*对接异常管理*/
        queryPreOrderAbnormalByPage: HOST + '/abnormal/queryPreOrderAbnormalByPage', // 异常订单查询列表
        queryPreOrderAbnormal: HOST + '/abnormal/queryPreOrderAbnormal', // 查询异常订单弹框
        continuePlacedOrder: HOST + '/abnormal/continuePlacedOrder', // 继续生产订单
        cancelPlacedOrder: HOST + '/abnormal/cancelPlacedOrder', // 取消继续生产
        seachSubChanelConfigByName: HOST + '/abnormal/seachSubChanelConfigByName', // 客户名称查询
        seachProjectNameList: HOST + '/abnormal/listChannelProjectByCustomerCode', // 对外项目名称查询
        InquiryOrderMatch: HOST + '/aopenproduct/openPlatform/inquiryDisposeEnterCheck',
        orderCheckUpdate: HOST + '/aopenproduct/openPlatform/inquirySecondSave',
        // 渠道订单管理添加新用户名称
        saveOrderExtNewCustomerName: HOST + '/apreorder/orderext/saveOrderExtNewCustomerName',
        saveOrderRemark: HOST + '/apreorder/remark/saveOrderRemark',
        queryRelatedRefundOrder: HOST + '/aorder/unaudit/queryRelatedRefundOrder', //关联单据
        confirmRelated: HOST + '/aorder/unaudit/confirmRelated', //确认关联
        distributionTpaOrder: HOST + '/apreorder/order/distributionTpaOrder', //订单分配接口
        updateOrderBigTypeByOrderId: HOST + '/apreorder/order/updateOrderBigTypeByOrderId', //订单类别更新
        listOrderTypeByOrderInfo: HOST + '/apreorder/order/listOrderTypeByOrderInfo', //订单类型获取
        updateOrderTypeByOrderId: HOST + '/apreorder/order/updateOrderTypeByOrderId', //订单类型更新
        listWarehouseByOrderBigType: HOST + '/apreorder/order/listWarehouseByOrderBigType', //发货仓获取
        updateWarehouseByOrderId: HOST + '/apreorder/order/updateWarehouseByOrderId', //发货仓更新
        listSentTypeByOrderInfo: HOST + '/apreorder/order/listSentTypeByOrderInfo', //配送方式获取
        updateSentTypeByOrderId: HOST + '/apreorder/order/updateSentTypeByOrderId', //配送方式更新
        queryIsAllowCashDelivery: HOST + '/apreorder/order/queryIsAllowCashDelivery', //查询客户是否支持货到付款
        //distributionTpaOrder: HOST + '/apreorder/order/distributionTpaOrder',//订单分配接口
        queryDeliveryCompanyList: HOST + '/apreorder/channelConfig/queryDeliveryCompanyList', //获取发货公司
        //渠道重点商品
        queryAddressConfigDetails: HOST + '/aopenproduct/openPlatform/searchChannelImportantSkuList', //渠道重点商品列表接口
        channelImportantRelationSku: HOST + '/aopenproduct/openPlatform/channelImportantRelationSku', //提交关联商品
        queryChannelSkuBySkuCode: HOST + '/aopenproduct/openPlatform/queryChannelSkuBySkuCode', //获取关联商品信息
        exportChannelImportantSkuList: HOST + '/aopenproduct/openPlatform/exportChannelImportantSkuList', //下载渠道重点商品列表清单
        getChannelImportantSkuDetail: HOST + '/aopenproduct/openPlatform/getChannelImportantSkuDetail', //渠道重点商品明细查询接口    
        downloadImportantSkuRelationExcelTemplate: HOST + '/aopenproduct/openPlatform/downloadImportantSkuRelationExcelTemplate', //下载渠道重点商品关联模板
        importChannelImportantSkuRelationByExcel: HOST + '/aopenproduct/openPlatform/importChannelImportantSkuRelationByExcel', //批量导入重点商品关联关系
        findCategoryById: HOST + '/aopenproduct/openPlatform/findCategoryById', //批量导入重点商品关联关系


        selectLatestBatchNo: HOST + '/aopenproduct/openPlatform/selectLatestBatchNo', //查询最后一次重点商品关联报告批次号
        exportImportantSkuRelation: HOST + '/aopenproduct/openPlatform/exportImportantSkuRelation', //下载重点商品批量关联报告
        exportInquirySkuExcel: HOST + '/aopenproduct/openPlatform/exportInquirySkuExcel', //临采商品管理-临采商品导出

        //渠道消息管理
        queryMessageList: HOST + '/aopenmessage/message/queryMessageList', //临采商品管理-临采商品导出
        messageRePush: HOST + '/aopenmessage/message/messageRePush', //临采商品管理-临采商品导出
    },
    // 渠道配置管理
    channelManagement: {
        queryAddressConfigByPage: HOST + '/addressConfig/queryAddressConfigByPage', //项目匹配列表
        deleteAddressConfig: HOST + '/addressConfig/deleteAddressConfig', //删除项目匹配列表
        queryAddressConfigDetails: HOST + '/addressConfig/queryAddressConfigDetails', //项目匹配详情接口
    },

    //移动端管理
    appversioncontrol: {
        appversioncontrollistPage: HOST + '/abaseservice/appVersionPatch/listPage', // 查询补丁包管理
        getAppVersionCodes: HOST + '/abaseservice/appVersionPatch/getAppVersionCodes', // 选择APP版本号
        checkPatchVersionCode: HOST + '/abaseservice/appVersionPatch/checkPatchVersionCode', // 验证补丁版本号
        appversioncontrolsave: HOST + '/abaseservice/appVersionPatch/save', // 新增安卓补丁包
        appversioncontrolinfo: HOST + '/abaseservice/appVersionPatch/info', // 编辑安卓补丁包
        appversioncontrolupdate: HOST + '/abaseservice/appVersionPatch/update', // 更新安卓补丁包

        getProuctTemplate: HOST + '/astore/pictureProduct/getProuctTemplate', // 专题落地页面 商品模版下载
        importProuctList: HOST + '/astore/pictureProduct/importProuctList', // 专题落地页面 商品批量导入
        downloadProductList: HOST + '/astore/pictureProduct/downloadProductList',
        addAppWheelSubject: HOST + '/astore/addAppWheelSubject', // 专题添加
        searchAfterSubjectModelList: HOST + '/astore/searchAfterSubjectModelList', // 专题查询
        saveModelStatusList: HOST + '/astore/saveModelStatusList', // 专题保存更新
        listWheelPictureBack: HOST + '/astore/wheelPicture/listWheelPictureBack', // 轮播图列表查询
        searchAfterEasyWheelSubjectList: HOST + '/astore/searchAfterEasyWheelSubjectList', //专题下拉列表
        addWheelPicture: HOST + '/astore/wheelPicture/addWheelPicture', // 轮播图新增
        getWheelPictureDetail: HOST + '/astore/wheelPicture/getWheelPictureDetail', // 轮播图编辑（查看详情接口）
        updateWheelPicture: HOST + '/astore/wheelPicture/updateWheelPicture', // 轮播图修改保存接口
        deleteWheelPicture: HOST + '/astore/wheelPicture/deleteWheelPicture', // 轮播图删除

        readBackScreenManageList: HOST + '/astore/appStartScreen/readBackScreenManageList', // 开屏管理查询
        addScreenMsg: HOST + '/astore/appStartScreen/addScreenMsg', // 引导页保存
        deleteAppScreenMsg: HOST + '/astore/appStartScreen/deleteAppScreenMsg', // 开屏管理删除
        readAppScreenMsg: HOST + '/astore/appStartScreen/readAppScreenMsg', // 开屏管理编辑查询
        updateScreenMsg: HOST + '/astore/appStartScreen/updateScreenMsg', // 开屏管理编辑更新

    },
    //积分管理
    integralManagement: {
        addIntegralActivity: HOST + '/aintegral/addIntegralActivity', // 积分活动管理新增
        searchIntegralExchangeList: HOST + '/aintegral/searchIntegralExchangeList', // 积分活动管理查询
        updateIntegralActivity: HOST + '/aintegral/updateIntegralActivity', // 积分活动管理修改总数量
        forbiddenIntegralActivity: HOST + '/aintegral/forbiddenIntegralActivity', // 积分活动管理删除/禁用
        searchIntegralResource: HOST + '/aintegral/searchIntegralResource ', // 积分活动管理(查询app,pc轮播图,活动规则)
        addIntegralResource: HOST + '/aintegral/addIntegralResource', // 积分活动管理(添加app,pc轮播图,活动规则均使用此接口)
        searchIntegralActivity: HOST + '/aintegral/searchIntegralActivity', // 积分活动管理编辑查询
        queryIntegralOrders: HOST + '/aorder/integral/queryIntegralOrders', // 积分活动订单管理查询
    },
    //专题模板
    special: {
        searchAfterWheelSubjectList: HOST2 + '/astore/searchAfterWheelSubjectList', //查询专题页列表
        removeSubject: HOST + '/astore/removeSubject', //删除专题
        addAppModel: HOST + '/astore/addAppModel', //添加专题页模板
        searchModelMsg: HOST + '/astore/searchModelMsg', //单类型模板详情查询
        updateModel: HOST + '/astore/updateAppModel', // 编辑模板 点击添加
    },
    //触摸屏管理
    touchscreen: {
        findTouchScreenList: HOST2 + '/astore/findTouchScreenList', //后台查询门店管理接口
        addTouchScreen: HOST + '/astore/addTouchScreen', //添加触摸屏
        findTouchScreenMsg: HOST + '/astore/findTouchScreenMsg', //触摸屏编辑查看
        updateTouchScreen: HOST + '/astore/updateTouchScreen', //触摸屏编辑
    },
    //品牌官网
    brandWebsite: {
        list: HOST2 + '/abrandWebsite/news/list', //新闻中心查询
        listDelete: HOST2 + '/abrandWebsite/news/listDelete', //新闻中心删除
        abrandWebsitequery: HOST2 + '/abrandWebsite/news/query', //新闻中心详情查询
        abrandWebsitesave: HOST2 + '/abrandWebsite/news/save', //新闻中心详情保存
        queryNewsTDK: HOST2 + '/abrandWebsite/news/queryNewsTDK', //新闻中心TDK查询
        saveNewsTDK: HOST2 + '/abrandWebsite/news/saveNewsTDK', //新闻中心TDK保存
        getBrandWebsiteArea: HOST2 + '/abrandWebsite/brandWebsiteArea/getBrandWebsiteArea', //联系我们查询
        saveBrandWebsiteArea: HOST2 + '/abrandWebsite/brandWebsiteArea/saveBrandWebsiteArea', //联系我们保存
        listPage: HOST2 + '/abrandWebsite/brandWebsiteLeaveMsg/listPage', //查询留言列表
        query: HOST2 + '/abrandWebsite/common/query', //查询官网
        exportLeaveMsgExcel: HOST2 + '/abrandWebsite/brandWebsiteLeaveMsg/exportLeaveMsgExcel', //留言列表导出
        getDetail: HOST2 + '/abrandWebsite/brandWebsiteLeaveMsg/getDetail', //留言详情查询
        updateLeaveMsg: HOST2 + '/abrandWebsite/brandWebsiteLeaveMsg/updateLeaveMsg', //留言详情保存
        proxyquery: HOST2 + '/abrandWebsite/proxy/query', //诚招代理-查询详情接口
        proxysave: HOST2 + '/abrandWebsite/proxy/save', //诚招代理-查询详情保存
        introducequery: HOST2 + '/abrandWebsite/introduce/query', //品牌介绍-查询详情
        introducesave: HOST2 + '/abrandWebsite/introduce/save', //品牌介绍-查询详情保存
        searchCategory: HOST2 + '/abrandWebsite/product/searchCategory', //产品分类配置查看类目
        productsave: HOST2 + '/abrandWebsite/product/save', //产品分类配置新增商品分类
        productupdate: HOST2 + '/abrandWebsite/product/update', //产品分类配置修改.删除商品分类
        queryProductList: HOST2 + '/abrandWebsite/product/queryProductList', //产品管理列表查询
        addProduct: HOST2 + '/abrandWebsite/product/addProduct', //产品管理保存
        updateProductDetail: HOST2 + '/abrandWebsite/product/updateProductDetail', //产品管理详情修改
        updateProductDeleteStatus: HOST2 + '/abrandWebsite/product/updateProductDeleteStatus', //产品管理删除
        updateProductRecommendStatus: HOST2 + '/abrandWebsite/product/updateProductRecommendStatus', //产品管理取消推荐
        searchName: HOST2 + '/abrandWebsite/product/searchName',
        updateProductPageShowStatus: HOST2 + '/abrandWebsite/product/updateProductPageShowStatus', //产品管理设置展示
        searchPage: HOST2 + '/abrandWebsite/wheelPicture/searchPage', //轮播图列表
        save: HOST2 + '/abrandWebsite/wheelPicture/save', //轮播图保存
        update: HOST2 + '/abrandWebsite/wheelPicture/updateDetail', //轮播图修改
        TDKsave: HOST2 + '/abrandWebsite/tdk/save', //TDK保存
        queryTDK: HOST2 + '/abrandWebsite/tdk/query', //TDK查询
        saerchProdectDetail: HOST2 + '/abrandWebsite/product/saerchProdectDetail', //产品管理详情
        searchDetail: HOST2 + '/abrandWebsite/wheelPicture/searchDetail', //轮播图详情
        updateDeleteStatus: HOST2 + '/abrandWebsite/wheelPicture/updateDeleteStatus', //轮播图删除
        updateIndex: HOST2 + '/abrandWebsite/index/updateIndex', //首页保存
        queryIndex: HOST2 + '/abrandWebsite/index/queryIndex', //首页详情查询

    },
    //公用文件
    publics: {
        queryWarehouseInfo: HOST + '/abaseservice/warehouse/queryWarehouseInfo', //获取所有发货仓
        queryAllReturnAddress: HOST + '/abaseservice/returnAddress/queryAllReturnAddress', //获取所有发货仓
        message: HOST + '/aproduct/product/salearea/message', //商品区域
        getInfo: HOST + '/arights/userDataConfig/getInfo',
        getInfoByOrder: HOST + '/arights/userDataConfig/getInfoByOrder',
        getAllWarehouse: HOST + '/abaseservice/area/getAllWarehouse', //动态发货仓
        pcqueryAllReturnAddress: HOST2 + '/api/pc/baseservice/returnAddress/queryAllReturnAddress', //前端接口
        pcgetLowerAddress: HOST2 + '/api/pc/baseservice/area/getLowerAddress', //前端接口
        getLowerAddress: HOST2 + '/api/pc/baseservice/area/getLowerAddress', //区域
        getAreaList: HOST + '/abaseservice/area/getAreaList', //区域
        downLoadFromUrl: HOST2 + '/api/pc/baseservice/downLoadFromUrl',
        inquiryImportExcelV1: HOST + '/ainquiry/inquiryImportExcelV1', //对接导入商品接口
        inquiryImportExcel: HOST + '/ainquiry/inquiryImportExcel', //云彩导入商品接口
        getSmsVerifyCodeComm: HOST + '/amembership/getSmsVerifyCodeComm', //获取验证码

    },
    //物流管理
    logistics: {
        getPageWarehouseCoverAddress: HOST + '/abaseservice/area/getPageWarehouseCoverAddress', //发货仓
        findDispatchScopeByPage: HOST + '/alogistics/findDispatchScopeByPage.jhtml',
        getWarehouseCoverAddressCascade: HOST + '/abaseservice/area/getWarehouseCoverAddressCascade',
        getAllWarehouse: HOST + '/abaseservice/area/getAllWarehouse',
        getLowerAddress: HOST + '/abaseservice/area/getLowerAddress',
        getDispatchModeByWarehousecode: HOST + '/alogistics/getDispatchModeByWarehousecode.jhtml',
        freeFreight: HOST2 + '/alogistics/freeFreight',
        getLogisticsDispatchScopeByInfo: HOST + '/alogistics/getLogisticsDispatchScopeByInfo.jhtml',
        updateDispatchScope: HOST + '/alogistics/updateDispatchScope.jhtml',

    },
    //场景部分接口
    scenario: {
        queryAppScene: HOST + '/store/appScene/queryAppScene', //应用场景查询
        appScene_saveOrUpdate: HOST + '/store/appScene/saveOrUpdate', //添加和编辑场景
        deleteById: HOST + '/store/appScene/deleteById', //删除应用场景
    },
    /*渠道发票查询*/
    channelInovice: {
        updateSendInfo: HOST + '/preorder/invoices/updateSendInfo', //发票相关-发票物流信息填写
        invoiceStatus: HOST + '/preorder/invoices/invoiceStatus', //发票相关-发票申请单状态查询
        applys: HOST + '/preorder/invoices/applys', //发票相关-查询发票申请单信息
        getOrderByApplicationNo: HOST + '/preorder/invoices/getOrderByApplicationNo', //发票相关-根据发票申请单号查询订单号
        getChannelConfigByChannelName: HOST + '/preorder/invoices/getChannelConfigByChannelName', //发票相关-根据渠道名称模糊查询渠道信息
        invoicesExport: HOST + '/preorder/invoices/invoices-export', //发票导出
    },
    //服务商公共接口
    communalbase: {
        getAreaList: commuapiHOST + '/communalbase/area/getAreaList', //描述	根据区域主键、编码、名称，获取有效的区域列表，其中区域名称为模糊查询
        getBankDocList: commuapiHOST + '/communalbase/bank/getBankDocList', //描述	根据银行主键，获取银行支行明细资料
    },
    //已准入服务商
    approvedServiceProviders: {
        addProviderBase: HOST2 + '/tpa/provider/base/addProviderBase', //新增服务商基本信息
        findProviderByPage: HOST2 + '/tpa/provider/base/findProviderByPage', //分页查询服务商信息
        getProviderBaseById: HOST2 + '/tpa/provider/base/getProviderBaseById', //根据id查询服务商基本信息
        updateProviderBaseById: HOST2 + '/tpa/provider/base/updateProviderBaseById', //根据id更新服务商基本信息
        findAll: HOST2 + '/tpa/provider/base/findAll', //根据状态和名称查询所有服务商
        findChannelFromDockListByName: HOST2 + '/tpa/provider/base/findChannelFromDockListByName', //根据名称模糊查询渠道信息
        findCustomerFromDockListByNameAndProviderNumber: HOST2 + '/tpa/provider/base/findCustomerFromDockListByNameAndProviderNumber', //根据服务商编码和名称查询客户信息
        findAreaListByName: HOST2 + '/tpa/provider/base_service/findAreaListByName', //根据名称查询区域列表

        getProviderFinanceByProviderId: HOST2 + '/tpa/provider/finance/getProviderFinanceByProviderId', //根据服务商id查询服务商财务详情
        addProviderFinance: HOST2 + '/tpa/provider/finance/addProviderFinance', //新增服务商财务信息
        updateProviderFinanceById: HOST2 + '/tpa/provider/finance/updateProviderFinanceById', //根据id更新服务商财务信息
        getBaseDataDictionary: HOST2 + '/tpa/provider/finance/getBaseDataDictionary', //查询并封装主数据字典：结账时间、结账区间

        addProviderInvoice: HOST2 + '/tpa/provider/invoice/addProviderInvoice', //新增服务商发票信息
        findProviderInvoiceByPage: HOST2 + '/tpa/provider/invoice/findProviderInvoiceByPage', //分页查询发票信息
        getProviderInvoiceByProviderIdAndId: HOST2 + '/tpa/provider/invoice/getProviderInvoiceByProviderIdAndId', //根据服务商id查询服务商发票信息
        updateProviderInvoiceById: HOST2 + '/tpa/provider/invoice/updateProviderInvoiceById', //根据id更新服务商发票信息
        deteleProviderInvoiceById: HOST2 + '/tpa/provider/invoice/deteleProviderInvoiceById', //根据id删除服务商发票信息

        findProviderCooperationByPage: HOST2 + '/tpa/provider/cooperation/findProviderCooperationByPage', //分页查询服务商合作信息
        batchAddProviderCooperation: HOST2 + '/tpa/provider/cooperation/batchAddProviderCooperation', //新增服务商合作信息
        batchUpdateProviderCooperation: HOST2 + '/tpa/provider/cooperation/batchUpdateProviderCooperation', //更新服务商合作信息

        addProviderContract: HOST2 + '/tpa/provider/contract/addProviderContract', //新增服务商合同信息
        getProviderContractByProviderId: HOST2 + '/tpa/provider/contract/getProviderContractByProviderId', //根据id查询服务商合同信息
        updateProviderContractById: HOST2 + '/tpa/provider/contract/updateProviderContractById', //根据id更新服务商合同信息
        submitProvider: HOST2 + '/tpa/provider/base/submitProvider', //提交服务商
        findProviderCooperationByCustomerNumberList: HOST2 + '/tpa/provider/cooperation/findProviderCooperationByCustomerNumberList', //
        providerExport: HOST2 + '/tpa/provider/export/providerExport', //已准入服务商列表导出
        updateInvoiceProvider: HOST2 + '/tpa/provider/finance/updateInvoiceProvider', //更新开票服务商名称
    },
    // 服务商管理
    serviceProviderManagement: {
        uploadForIE8: HOST2 + '/api/pc/baseservice/uploadForIE8', // 上传图片接口
        /*账号管理*/
        findProviderAccountByPage: HOST2 + '/tpa/provider/account/findProviderAccountByPage', //分页查询帐号信息
        addProviderAccount: HOST2 + '/tpa/provider/account/addProviderAccount', //新增服务商账号信息
        getProviderAccountByAccountAndPwd: HOST2 + '/tpa/provider/account/getProviderAccountByAccountAndPwd', //根据帐号和密码查询帐号信息
        getProviderAccountById: HOST2 + '/tpa/provider/account/getProviderAccountById', //根据id查询帐号详情
        reSetPasswordById: HOST2 + '/tpa/provider/account/reSetPasswordById', //根据帐号id重置帐号的密码
        updatePasswordByAccount: HOST2 + '/tpa/provider/account/updatePasswordByAccount', //根据帐号修改密码
        updateProviderAccountById: HOST2 + '/tpa/provider/account/updateProviderAccountById', //根据id更新账号信息
        updateProviderAccountStatusById: HOST2 + '/tpa/provider/account/updateProviderAccountStatusById', //根据id更新帐号状态
        findAll: HOST2 + '/tpa/provider/base/findAll', //根据状态查询所有服务商
        /* 待审核商品 */
        findProviderCooperationByProviderId: HOST2 + '/tpa/provider/cooperation/findProviderCooperationByProviderId', //根据服务商id查询服务商的合作信息
        auditListPageByAdmin: HOST2 + '/tpa/aproduct/auditListPageByAdmin', //云采后台-待审核商品-查询列表
        getAuditProductDetail: HOST2 + '/tpa/aproduct/getAuditProductDetail', //云采后台-待审核商品-查看详情
        batchAudit: HOST2 + '/tpa/aproduct/batchAudit', //云采后台-待审核商品-审核、批量审核
        selectChannelProductRule: HOST + '/aopenproduct/openPlatform/listCategoryLikeByCustomerIdAndCategoryName', //四级分类查询
        /*getClassIficationAndRevenueInfo: commuapiHOST+'/communalbase/category/getClassIficationAndRevenueInfo',//根据三级分类查询归类商品*/
        getClassIficationAndRevenueInfo: HOST2 + '/tpa/product/getClassIficationsByCategoryId', //根据四级分类查询归类商品
        auditProductExport: HOST2 + '/tpa/productExport/auditProductListExport', //待审核商品导出
        /*客户专有商品*/
        customerProductListPage: HOST2 + '/tpa/aproduct/customerProductListPage', //云采后台-客户专有商品-查询列表
        getFormalProductDetail: HOST2 + '/tpa/aproduct/getFormalProductDetail', //云采后台-客户专有商品-查看详情
        salePutByAdmin: HOST2 + '/tpa/aproduct/salePutByAdmin', //云采后台-客户专有商品-上架
        saleOffByAdmin: HOST2 + '/tpa/aproduct/saleOffByAdmin', //云采后台-客户专有商品-下架
        saveProductByAdmin: HOST2 + '/tpa/aproduct/saveProductByAdmin', // 云采后台-客户专有商品-新增商品
        updateProductByAdmin: HOST2 + '/tpa/aproduct/updateProductByAdmin', // 云采后台-客户专有商品-修改商品
        searchUnit: HOST2 + '/tpa/product/searchUnit', // 云采单位搜索接口
        uploadImages: HOST + '/aproduct/img/uploadImages', //上传图片
        customerProductListExport: HOST2 + '/tpa/aproduct/customerProductListExport', // 导出
        findAddressList: HOST2 + '/tpa/provider/cooperation/findAddressList', // 设置区域
        findProviderCooperationByProviderIdAndChannelId: HOST2 + '/tpa/provider/cooperation/findProviderCooperationByProviderIdAndChannelId', // 回显指定设置区域
        findProviderCooperationByProviderId: HOST2 + '/tpa/provider/cooperation/findProviderCooperationByProviderId', // 获取渠道
        searchBrand: HOST2 + '/tpa/product/searchBrand', // 服务商-品牌搜索接口


        /*服务商订单预警*/
        listWarningOrder: HOST2 + '/tpa/orderBackQuery/listWarningOrder', //服务商订单预警列表查询
        closeOrderWarn: HOST2 + '/tpa/orderCommon/closeOrderWarn', //服务商解除订单预警
        getServiceOrderDetail: HOST2 + '/tpa/orderBackQuery/getServiceOrderDetail', //服务商订单预警详情
        updateOrderWarn: HOST2 + '/tpa/orderCommon/updateOrderWarn', //编辑预警备注保存
        /*服务商订单管理*/
        listServiceOrder: HOST2 + '/tpa/orderBackQuery/listServiceOrder', //服务商订单管理-查询列表
        getServiceOrderDetail2: HOST2 + '/tpa/orderBackQuery/getServiceOrderDetail', //服务商订单管理详情
        QuerywaitAuditCancelOrder: HOST2 + '/tpa/orderBackQuery/waitAuditCancelOrder', //服务商订单管理详情取消
        waitAuditCancelOrder: HOST2 + '/tpa/orderReverse/waitAuditCancelOrder', //服务商售后订单管理详情取消
        listReverseOrder: HOST2 + '/tpa/orderReverse/listReverseOrder', //服务商订单售后管理
        getReverseOrderDetail: HOST2 + '/tpa/orderReverse/getReverseOrderDetail', //服务商订单售后管理-详情
        listProof: HOST2 + '/tpa/orderCommon/listProof', //凭证信息查询
        exportOrderList: HOST2 + '/tpa/orderExport/exportOrderList', //导出订单
        getReverseDetail: HOST2 + '/tpa/orderReverse/getReverseDetail', //取消，拒收，退货 申请 详情查询
        refundApply: HOST2 + '/tpa/order/refund/refundApply',
        listOperationLog: HOST2 + '/tpa/order/listOperationLog', //订单日志
        orderPush: HOST2 + '/tpa/order/orderPush', //订单下推
        receiptProofCheckPass: HOST2 + '/tpa/orderBack/receiptProofCheckPass', //审核通过
        receiptProofReject: HOST2 + '/tpa/orderBack/receiptProofReject', //审核驳回
        confirmReceipt: HOST2 + '/tpa/orderBack/confirmReceipt', //确认收货

        select: HOST2 + '/tpa/provider/channel/config/select', //查询服务商渠道配置列表

        //服务商订单拆分配置
        configSave: HOST2 + '/tpa/provider/channel/config/save',
        configGet: HOST2 + '/tpa/provider/channel/config/get',
        configUpdate: HOST2 + '/tpa/provider/channel/config/update',

    },
    //项目映射
    projectMap: {
        queryListPage: HOST + '/amembership/customerProjects/queryListPage', // 查询项目映射
        updateCustomerMapping: HOST + '/amembership/customerProjects/updateCustomerMapping', // 新增项目映射,
        updateCustomerProjects: HOST + '/amembership/customerProjects/updateCustomerProjects', // 修改项目映射,
        exportProjectsMappingErrorExcel: HOST + '/amembership/customerProjects/exportProjectsMappingErrorExcel', // 项目映射-失败信息导出,
        exportProjectsMappingExcel: HOST + '/amembership/customerProjects/exportProjectsMappingExcel', // 项目映射-导出,
        templateProjectsMappingExcel: HOST2 + '/baseservice/downLoadFromUrl', // 项目映射-模板导出,
        importProjectsMappingExcel: HOST + '/amembership/customerProjects/importProjectsMappingExcel', // 项目映射-批量导入
        queryCustomerMappersById: HOST + '/amembership/customerProjects/queryCustomerMappersById', //根据客户编码查询项目映射
        removeCustomerProjects: HOST + '/amembership/customerProjects/removeCustomerProjects', //解除映射关系
    },
    //账号对接失败信息
    accountFailed: {
        retrySync: HOST + '/amembership/customerUser/retrySync', // 账号对接失败-重新生成
        retrySyncAll: HOST + '/amembership/customerUser/retrySyncAll', // 账号对接失败-全部重新生成
        syncFailList: HOST + 'POST /amembership/customerUser/syncFailList', // 账号对接失败列表分页
    }
};

/*链接获取参数*/
function getQueryString(name) {
    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
    var r = (window.location.href.indexOf('?') > -1) && window.location.href.split('?')[1].match(reg);
    if (r) {
        return unescape(r[2]);
    }
    return null;
}

// session Storage  cookies
(function(g, a, e) {
    function f(h, i) {
        var j = new Date();
        j.setDate(j.getDate() + 50 * 365);
        a.cookie = h + "=" + escape(i) + ";expires=" + j.toGMTString()
    }

    function c(i) {
        var h, j = new RegExp("(^| )" + i + "=([^;]*)(;|$)");
        if (h = a.cookie.match(j)) {
            return unescape(h[2])
        } else {
            return null
        }
    }

    function d(h) {
        var i = c(h);
        if (i != null) {
            a.cookie = h + "=;"
        }
    }

    const b = {
        prefix: "local_storage_",
        local_ok: function() {
            var h = true;
            try {
                sessionStorage.setItem("sessionStorageTest", "1");
                sessionStorage.removeItem("sessionStorageTest")
            } catch (i) {
                h = false
            }
            return h
        },
        setItem: function(i, j) {
            var h = this.local_ok();
            if (h) {
                sessionStorage.setItem(i, j)
            } else {
                f(this.prefix + i, j)
            }
        },
        getItem: function(i) {
            var h = this.local_ok();
            if (h) {
                return sessionStorage.getItem(i)
            } else {
                return c(this.prefix + i)
            }
        },
        removeItem: function(i) {
            var h = this.local_ok();
            if (h) {
                sessionStorage.removeItem(i)
            } else {
                d(this.prefix + i)
            }
        },
        clear: function() {
            var k = this.local_ok();
            if (k) {
                sessionStorage.clear()
            } else {
                var j = a.cookie.split(";");
                var m = "";
                for (var l = 0; l < j.length; l++) {
                    var h = j[l].split("=");
                    if ($.trim(h[0]).indexOf(this.prefix) === 0) {
                        d($.trim(h[0]))
                    }
                }
            }
        }
    };
    g.session_storage = b
})(window, document, Math);

window.web = {};
/*
 * 接口数据格式对接
 * */
web.toMyJson = (function() {
    return function(param) {
        return {
            data: JSON.stringify(param)
        }
    }
})();
//上传接受参数
//上传接受参数
web.doAjax = (function() {
    return function(interFace, type, param, succCallBack, format, async) {
        // console.log('接口:' + interFace);
        // console.log('类型:' + type);
        // console.log('输入:' + param);
        //console.log('函数:' + succCallBack);
        if (format == 1) {
            $.ajax({
                url: interFace,
                dataType: 'json',
                contentType: "application/json",
                type: type,
                async: async,
                data: JSON.stringify(param),
                timeout: root.timeout,
                //允许跨域携带cookie
                // xhrFields:{withCredentials:true,credentials:true},
                beforeSend: function(request) {
                    //app.loader.show();
                },
                success: function(data, status, response) {
                    succCallBack(data, status, response);
                },
                complete: function() {
                    //app.loader.hide();
                },
                error: function(xhr, type, errorThrown) {
                    console.log(xhr, type, errorThrown);
                    //app.toast('通讯错误，请重试。');
                }
            });
        } else {
            $.ajax({
                url: interFace,
                dataType: 'json',
                type: type,
                data: param,
                async: async,
                timeout: root.timeout,
                //允许跨域携带cookie
                // xhrFields:{withCredentials:true,credentials:true},
                beforeSend: function(request) {
                    //app.loader.show();
                },
                success: function(data, status, response) {
                    succCallBack(data, status, response);
                },
                complete: function() {
                    //app.loader.hide();
                },
                error: function(xhr, type, errorThrown) {
                    console.log(xhr, type, errorThrown);
                    //app.toast('通讯错误，请重试。');
                }
            });
        }
    }
})();

/*form表单重置函数*/
function resetDiv() {
    var divEl = document.querySelectorAll(".Validform_checktip span")
    for (var i = 0; i < divEl.length; i++) {
        divEl[i].innerHTML = ""
    }
    /*重置分类中的级别*/
    goodslist_cantegory_id = "";
    category_id_of_search = ""; //采销中的分类id
    category_code_of_search = ""; //采销中的分类code
    /*图片中三级分类联动清空*/
    oneCategoryId = "";
    twoCategoryId = "";
    threeCategoryId = "";
    /*清空联动下拉框*/
    $("#classUlP1").html("");
    $("#classUlP2").html("");
    $("#classUlP3").html("");
    $("#img-classUl1").html("");
    $("#img-classUl2").html("");
    $("#img-classUl3").html("");
    var cer = "<option value=''>请选择收货位置</option>"
    $("#getPlace").html(cer);
    var areaId = $("#areaId").html();
    if (areaId == "100") {
        $('#bja').attr('checked', 'checked');
    }
    if (areaId == "144") {
        $('#tja').attr('checked', 'checked');
    }
    if (areaId == "421") {
        $('#zza').attr('checked', 'checked');
    }
    if (areaId == "440") {
        $('#jna').attr('checked', 'checked');
    }
    if (areaId == "370") {
        $('#xaa').attr('checked', 'checked');
    }
    if (areaId == "146") {
        $('#cqa').attr('checked', 'checked');
    }
    if (areaId == "462") {
        $('#gda').attr('checked', 'checked');
    }
    if (areaId == "463") {
        $('#sxa').attr('checked', 'checked');
    }
    if (areaId == "464") {
        $('#hna').attr('checked', 'checked');
    }
    if (areaId == "465") {
        $('#gxa').attr('checked', 'checked');
    }
    if (areaId == "466") {
        $('#jxa').attr('checked', 'checked');
    }
    if (areaId == "474") {
        $('#cda').attr('checked', 'checked');
    }
    if (areaId == "478") {
        $('#wha').attr('checked', 'checked');
    }
    if (areaId == "479") {
        $('#jsa').attr('checked', 'checked');
    }
}

// 空字段处理函数
function dealNull(data, val) {
    if (data == null || data == "null" || data == undefined || data == "1000-01-01 00:00:00" || data == "1000-01-01") {
        if (val) {
            return val;
        } else {
            return "";
        }
    } else {
        return data;
    }
}

// 空字段处理函数
function deleteAreaData() {
    sessionStorage.setItem("areaId", "100")
    sessionStorage.setItem("areaName", "北京")
}

// 本地存储cookie封装  三个参数 名字 值 过期时间
web.cookie = (function() {
    return function addCookie(name, value, days, _Tdom) { //添加cookie
        var Tdom = _Tdom || '/';
        var domains = '.fsyuncai.com'; //根域名
        var date, expires;
        if (days) {
            date = new Date();
            date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
            expires = '; expires=' + date.toGMTString();
        } else {
            expires = '';
        }
        document.cookie = name + '=' + value + expires + '; path=' + Tdom;

    }
})();
//获取指定名称的cookie的值
web.readCookie = (function() {
    return function getCookie(objName) {
        var arrStr = document.cookie.split("; ");
        for (var i = 0; i < arrStr.length; i++) {
            var temp = arrStr[i].split("=");
            if (temp[0] == objName)
                return decodeURIComponent(temp[1]);
        };

        return null;

    }
})();
/*刪除cookie*/
function delCookie() {
    var cookieArr = ['loginData'];
    for (var i = 0; i < cookieArr.length; i++) {
        web.cookie(cookieArr[i], "", -1);
    }
};
/*获取当前服务器时间对象
 * function getYear--获取年
 * function getMonth--获取月
 * function getDay--获取日
 * function getDateStr--获取时间，param type--时间类型【month，day，hour,min,second】，精确到年月日时分秒
 * function getHowLongAgo--获取多长时间之前，param pastTime--事件发生的时间(多去的时间)，nowTime--目前的时间*/
var sysTime = new Date().getTime();

function GetNowFormatDate(timeStamp) {
    this.timeStamp = timeStamp;
    if (this.timeStamp) {
        var date = new Date(this.timeStamp);
    } else {
        var date = new Date(sysTime);
    }
    var seperator1 = "-";
    var year = date.getFullYear();
    var month = date.getMonth() + 1;
    var strDate = date.getDate();
    var h = date.getHours(); //获取当前小时数(0-23)
    var m = date.getMinutes(); //获取当前分钟数(0-59)
    var s = date.getSeconds();
    if (month >= 1 && month <= 9) {
        month = "0" + month;
    }
    if (strDate >= 0 && strDate <= 9) {
        strDate = "0" + strDate;
    }
    //日期时间处理
    function conver(s) {
        return s < 10 ? '0' + s : s;
    }
    this.getYear = function() {
        return year;
    }
    this.getMonth = function() {
        return month;
    }
    this.getDay = function() {
        return strDate;
    }
    this.getDateStr = function(timeType) {
        if (timeType) {
            switch (timeType) {
                case "month":
                    var currentdate = year + seperator1 + month;
                    break;
                case "day":
                    var currentdate = year + seperator1 + month + seperator1 + strDate;
                    break;
                case "hour":
                    var currentdate = year + seperator1 + month + seperator1 + strDate + " " + conver(h);
                    break;
                case "min":
                    var currentdate = year + seperator1 + month + seperator1 + strDate + " " + conver(h) + ':' + conver(m);
                    break;
                case "second":
                    var currentdate = year + seperator1 + month + seperator1 + strDate + " " + conver(h) + ':' + conver(m) + ":" + conver(s);
                    break;
                case "strSecond":
                    var currentdate = year + month + strDate + conver(h) + conver(m) + conver(s);
                    break;
                default:
                    var currentdate = year + seperator1 + month + seperator1 + strDate + " " + conver(h) + ':' + conver(m) + ":" + conver(s);
                    break;
            }
            return currentdate;
        }
    }
    this.getHowLongAgo = function(pastTime, nowTime) {
        var pastTimeStr = new Date(pastTime).getTime();
        var nowTimeStr = new Date(nowTime).getTime();
        var timeDifference = new Date(nowTimeStr - pastTimeStr);
        var seconedDifference = parseInt(timeDifference / 1000);
        var minuteDifference = parseInt(timeDifference / 1000 / 60);
        var hourDifference = parseInt(timeDifference / 1000 / 60 / 60);
        var dayDifference = parseInt(timeDifference / 1000 / 60 / 60 / 24);
        var monthDifference = parseInt(timeDifference / 1000 / 60 / 60 / 24 / 30);
        var yearDifference = parseInt(timeDifference / 1000 / 60 / 60 / 24 / 30 / 12);
        if (seconedDifference < 60) {
            return seconedDifference + "秒前";
        } else if (seconedDifference > 60 && minuteDifference < 60) {
            return minuteDifference + "分钟前";
        } else if (minuteDifference > 60 && hourDifference < 24) {
            return hourDifference + "小时前";
        } else if (hourDifference > 24 && dayDifference < 30) {
            return dayDifference + "天前";
        } else if (dayDifference > 30 && monthDifference < 12) {
            return monthDifference + "个月前";
        } else if (monthDifference > 24) {
            return yearDifference + "年前";
        }
    }
}
var getNowFormatDate = new GetNowFormatDate();
/*日期选择器设置函数
 * params：
 * startEl--开始时间元素名称 Input的id或class
 * endEl--结束时间元素名称 Input的id或class，非时间段的时候为空串
 * timeFormat--时间格式 时间格式（YYYY-MM-DD hh:mm:ss  YYYY年MM月DD日 hh:mm:ss）
 * startCallBack--开始时间选择回调函数
 * endCallBack--结束时间选择回调函数
 * 应用：timeSet("#timemin","#timemax","YYYY-MM-DD hh:mm:ss");*/
function timeSet(startEl, endEl, timeFormat, startCallBack, endCallBack) {
    /*startEl=>开始时间Input的id，endEl=>结束时间Input的id，时间格式（YYYY-MM-DD hh:mm:ss  YYYY年MM月DD日 hh:mm:ss）*/
    /*时间设置*/
    if (endEl != "") {
        var start = {},
            end = {};
        jeDate(startEl, {
            theme: { bgcolor: "#4A90E2", color: "#ffffff", pnColor: "#00CCFF" },
            format: timeFormat,
            minDate: '1000-01-01 00:00:00', //设定最小日期为当前日期
            maxDate: function(that) {
                if ($(endEl).val() != "") {
                    var nowMaxDate = "" ? jeDate.nowDate({ DD: 0 }) : $(endEl).val();
                    return nowMaxDate;
                } else {
                    return '2099-06-16 23:59:59';
                }
            }, //设定最大日期为当前日期
            donefun: function(obj) {
                end.minDate = obj.val; //开始日选好后，重置结束日的最小日期
                jeDate(endEl, LinkageEndDate(false));
                if (startCallBack) {
                    startCallBack();
                }
            }
        });
        jeDate(endEl, LinkageEndDate);

        function LinkageEndDate(istg) {
            return {
                trigger: istg || "click",
                theme: { bgcolor: "#4a90e2", color: "#ffffff", pnColor: "#00CCFF" },
                format: timeFormat,
                minDate: function(that) {
                    if ($(startEl).val() != "") {
                        var nowMinDate = "" ? jeDate.nowDate({ DD: 0 }) : $(startEl).val();
                        return nowMinDate;
                    } else {
                        return '1000-01-01 00:00:00';
                    }
                }, //设定最小日期为当前日期
                maxDate: '2099-06-16 23:59:59', //设定最大日期为当前日期
                donefun: function(obj) {
                    start.maxDate = obj.val; //将结束日的初始值设定为开始日的最大日期
                    if (endCallBack) {
                        endCallBack();
                    }
                }
            };
        }
    } else {
        var start = {
            theme: { bgcolor: "#00a1cb", color: "#ffffff", pnColor: "#00CCFF" },
            format: timeFormat,
            donefun: function(obj) {
                if (startCallBack) {
                    startCallBack(obj);
                }
            }
        };
        if (startMinTime && startMinTime != "") {
            start.minDate = startMinTime;
        } else if (startMaxTime && startMaxTime != "") {
            start.maxDate = startMaxTime;
        }
        jeDate(startEl, start);
    }
}
/*判断上传图片的宽高*/
function getImageInfo(url, callback) {
    console.log(999)
    var img = new Image();
    img.src = url;
    if (img.complete) {
        // 如果图片被缓存，则直接返回缓存数据
        callback(img.width, img.height);
    } else {
        img.onload = function() {
            callback(img.width, img.height);
        }
    }
}
/*入参为空判断处理*/
function nullValueJudgmentFn(params, judgmentFieldObj) {
    var isContinue = true;
    for (var item in judgmentFieldObj) {
        if (params[item] == "" || params[item] == undefined || params[item] == null) {
            $.Huimodalalert(judgmentFieldObj[item], 2000);
            isContinue = false;
        }
    }
    return isContinue;
};
/*关闭弹框不刷新*/
function cancelLayerNoRefreshFn() {
    var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
    parent.layer.close(index);
}
/*dataTable获取分页页码*/
function getDataTablePageNum(dataTableId) {
    var tableSetings = dataTableId.fnSettings();
    var paging_length = tableSetings._iDisplayLength; //当前每页显示多少
    var page_start = tableSetings._iDisplayStart; //当前页开始
    var page = (page_start / paging_length); //得到页数值  比页码小
    return page;
}
/*将字符串按特殊字符或空格转换为数组*/
function strReplaceFn(str) {
    var pattern = new RegExp("[`~!@#$^&*()=|{}';',\\[\\].<>/?~！@#￥……&*（）&;|{}【】‘；”“'。，、？ ]", "g")
    var rs = str.replace(pattern, ',');
    rs = rs.split(",");
    return rs;
}
//图片压缩
function imgSize(url) {
    if (url && url.length > 0) {
        var oldstr = url.split('?')[1];
        var newstr = 'x-oss-process=style/style60';
        var nUrl = url.replace(oldstr, newstr);
        return nUrl;
    } else {
        return '';
    }
}
//询价单解析报错
function isProductError(productOjb, isPic) {
    var productStr = ''
    try {
        productStr = isPic ? JSON.parse(productOjb).pic : JSON.parse(productOjb).desc;
    } catch (error) {
        productStr = '';
    }

    return productStr;
}

//询价单特殊字符限制
function transSpecialChar(value) {
    var forStr = $(value).val().replace(/[&"'<>]/g, "");
    $(value).val(forStr)
        /*return forStr;*/
}
/*设置form表单提交导出Excel
 * params----params是post请求需要的参数
 * url是请求url地址
 * */
function postExcelFile(params, url) {
    var form = document.createElement("form");
    form.style.display = 'none';
    form.action = url;
    form.method = "post";
    form.target = "frameFile";
    document.body.appendChild(form);
    for (var key in params) {
        var input = document.createElement("input");
        input.type = "hidden";
        input.name = key;
        input.value = params[key];
        form.appendChild(input);
    }
    form.submit();
    form.remove();
}